Your project cocos library is using android API 23, normally call API 10 like in mine, I changed my to be like yours and I got the same errors. I think that you only need to download the android API 10 on your android SDK manager, and change project.properties of:
> /home/user/CocosProjects/MyGame/cocos2d/cocos/platform/android/java
Try create an AVD with a target API 17 or greater with CPU/ABI ARM. AVDâs arenât best choice, try to use a real device just to check if the problem is on AVD or in your project.
On a real device application works (but interface is displaced, and button with âturn off/onâ image does nothing - donât know if itâs normal for initial project).
I need it working on AVD (because I should check if applicationâs interface displayed properly on different screens).
(ARM works only without using Host GPU)
With Android 4.2.2 appears this message (with interval): com.android.phone has stopped.
I tried API10 and 17 with Intel and ARM, with/without Host GPU, tried to replace SDK with newly unpacked there are always message: MyGame unexpectedly has stopped.
After you understand how it works, you will not need to test your project every time on various devices.
Normally the button works, but this is just to be an example and most of the time I delete it.
You donât have to use Eclipse, it is has too much bugâs, I agree that is best to use Android-Studio instead of Eclipse, in Linux I prefer to use Qt-Creator or KDEvelop as IDE to develop to Linux, it is fast and much more stable, using the benefits of cross-platform powers of Cocos2d-x, after the game is work on Linux, I try to run on Android devices, open the project on Eclipse or Android-Studio just to adjust the Android details.