- Home /
HELP! Building Player: Exception Android (invokation failed) Error Unkown Error
I have no idea what to do about this. Everytime I build it asks for the location of my android sdk. I point it to my C:\Program Files\Android\android-sdk folder. Then I get this error.
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)
Installed Unity (latest) , then Java jdk 6 , then android sdk (r22) (tried r21 as well) ,I have nothing in the scene, as I am just trying to get a blank apk built to test it. Any help would be much appreciated! Thanks!
Answer by Levi of Storange · May 23, 2013 at 01:08 PM
http://answers.unity3d.com/questions/461115/android-build-fails-with-unknown-reason-after-upgr.html this is the how to fix :) apperently it was the Android sdk, a previous version fixed it all up.
Your answer
Follow this Question
Related Questions
erorr in building scene ????? 0 Answers
Getting this error when trying to run a game on android 2 Answers
Assets/scripts/fbLogin.cs(60,52): error CS1501: No overload for method `API' takes `3' arguments 1 Answer
ClassNotFoundException on UnityPlayerProxyActivity on some devices 0 Answers
Android sdk root folder dialog error 0 Answers