Li huaming himiOriginal, reprinted must be explicitly noted:
Reprinted from[Heimi gamedev block]Link: http://www.himigame.com/iphone-cocos2dx/645.html
OK, the last section for kids shoes detailed introduction on how to build the android ndk environment in MAC system and compile and import the project to run cocos2dx comes with testsdemo; this article describes in detail how to create a new Android-cocos2d project!
First, you have not configured the environment and run the test that comes with cocos2dx. android examples of children's shoes first set up the environment well: [iOS-cocos2d-X game development 3] under the MAC configuration Android ndk environment and build a Cocos2d-x environment and eclipse normal compilation run cocos2dx comes testsdemo project!
OK. Go to the topic and follow the steps below to create a new project:
1. Open your terminal and press enter cd $ cocos2dx_root;
Then sh input./create-android-project.sh press ENTER;
OK. Now the project has been created;
1. First, you are prompted with the following information:
Input package path. For example: org. cocos2dx. Example
Enter the package path! Here, himi enters a Random Entry first: COM. cocos2dx. himi press ENTER;
2. The following message is displayed:
1234567891011121314151617181920212223242526 |