Hi, I’ve been trying to get unity to work with my android phone, but it keeps throwing the following 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
I think this has something to do with my phone not being recognized, but when trying to update the drivers with the google drivers(like most of the tutorials/docs I’ve seen tell me to do) windows tells me it’s all up to date.
I also keep having to assign the folder for the SDK, but I think this is just not saved because building fails.
My phone is a samsung galaxy mini 2, and is running on android 2.3.6.
Anyone know what I’m doing wrong here?