Error building APK

I’m getting this error when trying to build android, my SDK is up to date and I am able to build it in my Mac… this only happens when trying to build for Windows.

Error building Player: Win32Exception: ApplicationName=‘C:\Program Files (x86)\Java\jre7\bin\javac.exe’, CommandLine=‘-bootclasspath “H:/adt-bundle-windows-x86_64-20140702/sdk/platforms/android-20\android.jar” -d “H:\Unity3D\Project\Temp\StagingArea\bin\classes” -source 1.6 -target 1.6 -encoding UTF-8 “com\domain\Project\” “com\facebook\android\” “com\google\android\gms\” “com\google\example\games\basegameutils\” “com\google\example\games\mainlibproj\”’, CurrentDirectory=‘H:\Unity3D\Project\Temp\StagingArea\gen’


Installed JDK 32bit the got a different error now:

Error building Player: CommandInvokationFailure: Failed to build apk. See the Console for details. C:\Program Files (x86)\Java\jdk1.8.020\bin\java.exe -Xmx1024M“H:/adt-bundle-windows-x8664-20140702/sdk ools” -Dfile.encoding=UTF8 -jar “F:/Program Files (x86)/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar” -

stderr[ Error: Not a file ‘H:\Unity3D\Project’ ] stdout

This might help:

About the second problem, where It was saying that your Project Folder wasn’t a file, it was a keystore problem.

Quite simply, looking for a nonspecified keystore = looking for a keystore file with the same address as the Project Folder.