首页 > 代码库 > 环境搭建2.2.5

环境搭建2.2.5

1,版本选择2.2.5

2,安装cygwin,并安装Devel下的make:The GNU version of the ‘make‘ utility

3,安装python2.7

4,下载NDK

5,环境变量设置,PATH: C:\cygwin\bin;D:\eclipse_android\sdk\platform-tools;D:\eclipse_android\sdk\tools;

    NDK_ROOT:D:\eclipse_android\android-ndk-r10

6,创建工程E:\cocos2d-x-2.2.5\tools\project-creator>create_project.py -project MyTest -package com.MyTest.cocos2dx -language cpp

7,导入工程1,import MyTest。导入工程2,import E:\cocos2d-x-2.2.5\cocos2dx\platform\android

8,Run as -> android application

 

环境搭建2.2.5