Hello all, I’m now to cocos2d-x.
I recently finished setting up cocos2d-x for Android. I installed all the android SDK, ADT, Eclipse, cygwin, etc etc and imported the sample ‘HelloCpp’ to Eclipse and built it. Initially I failed, but I did a ‘chmod 777 -R’ on all folders of cocos2d-x and the building process was completed successfully.
I can see the app being installed into the emulator 5554 already, but when running it says ‘Unfortunately, HelloCpp has stopped’. The strange thing is that, if I manually put the HellopCpp.apk (found under /bin) into a real device and install it, it works.
What can be the reason for the crash on an emulator? Your help is appreciated. Thanks.