- Home /
Console error after selecting Android SDK location
Error building Player: Exception: android (invokation failed)
ERROR: unknown error
cmd:android list target -c
stdout;
stderr:
Exception in thread "main" java.lang.NullPointerException
at SDKMain.main(SDKMain.java:62)
I am running Unity 4.1.2f1 , adt-bundle-windows-x86_64-20130514 installed, with Android 4.2.2 (API 17), all of 'Tools', Android support library and USB drivers.
I get this error after doing any build for Android in unity, after which it stops compiling.
I figured it out in the end. Reinstalled then Android SD$$anonymous$$ with revision 21 ins$$anonymous$$d of 22 and it worked.
I'm having this problem tooooooooo!!!!!! How did you manage to install revision 21??
Answer by TheoTowers · May 22, 2013 at 11:41 PM
Looks like a lot of people or having problems, lol. I followed this and got it to work:
http://answers.unity3d.com/questions/461115/android-build-fails-with-unknown-reason-after-upgr.html
Your answer
Follow this Question
Related Questions
Build error 2 Answers
android building error 1 Answer
Error Building Player, Please Make Sure The Android SDK is Installed...? 0 Answers
Android build error aapt.exe after latest SDK updates today 0 Answers
Android Building 1 Answer