I am just starting to learn cocos2d-x
for Android
, and understand how to create a new project (using create-android-project.sh
), compiling the native code (using build_native.sh
), then importing it into Eclipse as a new Android
project (New > Android Project > From source...).
The first time I run the project it works great, but if I run it a second time, nothing shows up on screen and I get a force close after 30 seconds or so. Is the Eclipse import screwing something up? What could I be doing wrong? Do I need to build/clean/etc in a certain order?