COCOS2DX 2.2.3 Compiling the first apk to Android phone

Source: Internet
Author: User

1.android-ndk-r10 (note 32-bit and 64-bit of the wrong I accidentally under the wrong to toss me for two days)


2.adt_201407 (Eclipse has been integrated with SDK and so on)

3.cococs2d-x 2.2.3


4. No brain installation python2.7, environment variable set path, add the Python installation path to the environment variable

5. New COCOS2DX Project

Cmd

CD G:\DesignSoftware\cocos2d-x-2.2.3\tools\project-creator

Then Create_project.py-project helloworld-package com.gkh.helloworld-language CPP

Next you will find a new project in the Projects folder



6. Copy the resource files to the assets folder in



7 Copy the Org directory under the G:\DESIGNSOFTWARE\COCOS2D-X-2.2.3\COCOS2DX\PLATFORM\ANDROID\JAVA\SRC path to the following path, for example



8. Import the new COCOS2DX project with Eclipse in ADT



9. Set the Android SDK path




10. Set NDK cmd



11. Setting the NDK environment variable



12. Then start run by



COCOS2DX 2.2.3 Compiling the first apk to Android phone

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.