Hi. I’m new to Android development and I keep getting this error when I try to create a development build. What does it mean and how can I fix it (if it’s relevant, I’m running Mac OS X Mavericks)? Thanks.
I am new to droid also (iOS veteran) having similar build issues… nasty business this…
Have you managed to get any builds working on device at all ?
I got a very simple project running… but any bigger projects just explode in various ways… sometimes in different ways on subsequent builds…
First thing I’ll suggest is check your Assets/Android/manifest.xml file…
deleting that and re-building, actually got one of my projects to build… but crash immediately at run time…
Also (porting) I got one project to build by removing all the plugins, and deleting the manifest.xml again… but again… crashes immediately on launch. And seems equally hard to get any debug prints to show up.
discovered a few things… and some omissions from various unity/droid setup docs… here are a few notes to help other droid newbys like me…
(I’m not posting detailed info on how to do each… you can google that, but just posting notes on some things not to forget to do!)
Same steps apply to both mac and PC
1)don’t forget to install Java JDK (not JDK for arm) and match the OS version to your machine 32 or 64 bit. At time of writing this 7.1 works, I didn’t try 8. Its on the oracle site.
2)install Eclipse
3)install Android SDK (and beware of the windows path too long error from .zip file, right click and copy instead of using win zip to extract worked for me)
4)Setup the environment variables JAVA_HOME and your bin folder in the PATH.
5)Don’t forget to install drivers for your device (for samsung, find the app ‘kies’)
6)To get Eclipse to show any debug prints, you need to add “logcat” to the tabs in eclipse.
7)Don’t forget to point unity to the android SDK in unity prefs.