I installed this plugin to use Google Play Services with unity, and now I’m getting this error:
Error building Player: Win32Exception: ApplicationName=‘C:\Program Files\Java\jre8\bin\javac.exe’
My JAVA_HOME variable is set to the jre. If I set it to the jdk, I get an “unable to convert classes to dex format” error instead:
Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
C:\Program Files\Java\jdk1.8.0_05\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir=“C:/Program Files (x86)/Android/adt-bundle-windows-x86_64-20131030/adt-bundle-windows-x86_64-20131030/sdk ools” -Dfile.encoding=UTF8 -jar “C:/Program Files (x86)/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar” -
If I remove the plugin, the error goes away. Anyone who uses this plugin know what the problem is?