I’m new to cocos2d-x (or android development). I had some computer problems the past week so I reinstalled c2dx, studio, etc.
When I debug to windows in c2d studio, it works. When I debug to my android device, it gives me install runtime error:INSTALL_PARSE_FAILED_NO_CERTIFICATES
If i right click on the project and select:
Cocos Tools -> package to apk for android…
and select publish with debug keystore then install it is successful and I can manually run the application on my tablet, it just seems to be debugging that does not work.
Cocos Code IDE 1.0.1 have fixed this bug. Please use this latest version to create a new project , or copy a PrebuiltRuntime*.apk from engines to your project/runtime/android.
When I install the JDK it does not ask me what folder to select to put it in, it just installs it. I was following this tutorial video: https://www.youtube.com/watch?v=Tvcvw4wfJ34 but there was no indication of where to get the Cocos Code IDE.app/JDK file.
NOTE: I have not tried running/deploying a project on Android yet so I’m not sure if missing this JDK path will cause a problem or not. Should I try that before spending more time on JDK?
Do I need to setup JAVA_HOME or anything like that?