- Home /
Error building Player: Win32Exception
Whenever I go to build an apk this error pops up. This has never happened to me before when I build out an apk.The android SDK that I am using is (x86)\adt-bundle-windows-x86 If anyone could help me that would be awesome. Thanks in advance.
Error building Player: Win32Exception: ApplicationName='C:\Program Files (x86)\Java\jre7\bin\javac.exe', CommandLine='-bootclasspath "C:/Program Files (x86)/adt-bundle-windows-x86_64-20140702/sdk/platforms/android-21\android.jar" -d "C:\Users\Joshua\Documents\BBike\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding UTF-8 "com\chartboost\sdk\unity\R.java" "com\google\android\gms\R.java" "com\J53IndustriesBBike\R.java"', CurrentDirectory='C:\Users\Joshua\Documents\BBike\Temp\StagingArea\gen'
I recently installed the JDK but I do not know what to do next.
BlockquoteHave you set the PATH variable in environment variables?
I am working on that but do I set it for the JD$$anonymous$$ or the Android SD$$anonymous$$
I believe that is necessary for the jdk. For the android sdk, set the path by going to edit, preferences,external tools and then choosing the Android sdk location.
Okay here is what I have however the error still occurs. Should I set the path under user variables or system variables? Thank you for your continued support.
Under system variables there should be row titled PATH. Append it to the end of that text followed by a semi-colon
Answer by supermud · Jan 11, 2015 at 06:21 PM
I fixed this problem by redownloading the JDK. Thank you for all of your help