hello guys ,i am new into android dev since it’s already free on unity xD
so i tried my mock project to build for android ,and everytime i build it ,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)
Picked up _JAVA_OPTIONS: -Xmx512M
and i already setup the environtment etc based on this video :Creating games for the Android with Unity - YouTube
and all working good based on that video ,that’s why i don’t know why i keep getting error
and of course i already google and search on answers and forum ,but still ,nothing work, i already add java -xmx512 and the path for jdk and java ,but still doesn’t work
please help