COCOS2DX project into eclipse or Android Studio

Source: Internet
Author: User

Eclipse:

1. Right-click in Eclipse, select Import

2. Select the directory under the Android folder

3. Select the file and click Browse

4. Select File Import

5. Check LIBCOCOS2DX, note that COCOS2DX 3.x needs to change the libcocos2dx of the new Project Name column to LIBCOCOS2DX3 (because I have already imported so I am the '-');

6. Next import Project file execute above 1, 2 steps, import file path Select the Proj.android file under Project

Select File Import Project When selected

Note: You will need to include the CPP that is written in the class in the android.mk in the JNI directory, otherwise it cannot be packaged

Project import in Android Studio:

1. Open the option to select red in Android Studio

2. Select Android Studio file under Project Click OK to start importing

3. If it is the initial import may pop-up prompts need to install or upgrade the write plug-in interface, direct installation prompt installation is good, because I have been installed there is no way. Display after successful import:

COCOS2DX project into eclipse or Android Studio

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.