OUYA plugin compilation fail "OuyaUnityPlugin.java:417: cannot find symbol"

can’t compile OUYA plugin from OUYA panel

error log

C:\Work\Ouya\2dTest\Assets\Plugins\Android\src\OuyaUnityPlugin.java:417: cannot find symbol
symbol : constructor Product(java.lang.String,java.lang.String,int,int,java.lang.String,int,int,java.lang.String)
location: class tv.ouya.console.api.Product
Product product = new Product(sku, “”, 0, 0, “”, 0, 0, “”);
^
1 error

UnityEngine.Debug:LogError(Object)
OuyaMenuAdmin:CompileApplicationClasses() (at Assets/Ouya/SDK/Editor/OuyaMenuAdmin.cs:244)
OuyaMenuAdmin:MenuGeneratePluginJar() (at Assets/Ouya/SDK/Editor/OuyaMenuAdmin.cs:101)
OuyaPanel:Update() (at Assets/Ouya/SDK/Editor/OuyaPanel.cs:931)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

I’m guessing you are using the OUYA Unity Plugin version 1.0.11.1 or 1.0.11.2 (listed at the top of the OUYA Panel). I believe the Product constructor was changed but wasn’t properly updated in the OuyaUnityPlugin.java code. To fix it, change line 417 of Plugins/Android/src/OuyaUnityPlugin.java from:

Product product = new Product(sku, "", 0, 0, "", 0, 0, "");

to

Product product = new Product(sku, "", 0, 0, "", 0, 0, "", "");

Then press the “Compile Plugin” button in the OUYA Panel.