How to setup Cocos2D-X (Android) under Mac OS X?
Posted
by
Beast
on Game Development
See other posts from Game Development
or by Beast
Published on 2012-05-07T11:16:48Z
Indexed on
2012/10/14
21:53 UTC
Read the original article
Hit count: 115
Hi I've made a small game for iPhone that I also want to run on Android but I'm having problems setting up Cocos2D-X for Android.
I've downloaded and installed Android SDK and NDK (under my "/Users/username/Android"
).
Installed all necessary packages under SDK and created an Emulator.
Copied Cocos2D-x under "/Users/username/cocos2dx"
.
Installed Eclipse IDE with ADT Plugin.
Opened "Users/username/cocos2dx/tests/build_native.sh"
and changed "NDK_ROOT_LOCAL=/Users/username/Android/android-ndk"
, "COCOS2DX_ROOT_LOCAL=/Users/username/cocos2dx"
to the values shown.
On running the script using Terminal it compiles test project. What's next?
© Game Development or respective owner