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!

Android build fails with unknown reason after upgrading from Unity 3 to 4. - Questions & Answers - Unity Discussions this is the how to fix :slight_smile: apperently it was the Android sdk, a previous version fixed it all up.