[IOS-cocos2d-X game development 4] cocos2dx to create a new Android ndk project and compile and import eclipse normal operation!

Source: Internet
Author: User

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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.