coocs2d-x-2.2 version Android Pack note

Source: Internet
Author: User

1. Download ndk and Cygwin, and cocos2d-x-2.2.3

Cygwin directory, such as my installation directory is as follows D:\cygwin64\home\dong
Then use the editor (don't use Notepad, too low) to open the. Bash_profile, then add the NDK path and the COCOS2DX path at the bottom
ndk_root=/cygdrive/e/android/android-ndk-r9c
Export Ndk_root
cocos2dx_root=/cygdrive/e/cocos2d-x-2.2.3
Export Cocos2dx_root

2. Go to the downloaded engine directory

CD D:workcat/develop_tools/cocos2d-x-2.2.3/tools/project-create

Execute python create_project.py-project pomelo-package com. Fanyoy.pomelo-language JavaScript

3. Under the Cygwin environment, go to the created project below

CD d:workcat/develop_tools/cocos2d-x-2.2.3/projects/pomelo/proj.android

Execution./build_native.sh

Up to half an hour of waiting ...

coocs2d-x-2.2 version Android Pack note

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.