- Android NDK (r10d 32bits)
- Android SDK (android-19 and android-10)
- Cocos2d-x 3.3
- In cocos directory
$ python download-deps.py
$ python setup.py
- Set cocos2dx env variable Env variable 'COCOS_X_ROOT' must point on your cocos2dx directory.
- Import libcocos2dx library project:
- File->New->Project->Android Project From Existing Code.
- Click Browse button and open
cocos2d-x/cocos2dx/cocos/platform/android/java
directory. - Click Finish to add project.
Right click on the project -> Properties -> Android. The project build target should be plateform 2.3.3.
- Download the Support Libraries
- In the Android SDK Manager, Download 'Extras/Android Support Repository' and 'Extras/Android Support Library'
- import project : /extras/android/support/v7/appcompat
Once the project has been generated. You can install the apk with the following line:
$ adb install $(PATH_TO_PROJECT)/bin/CitronGIS.apk