cocos2d-x 3.11.1放在d:\cocos2d
安装好python2.7,注意,cocos2d不支持python3
命令:
cd D:\cocos2d\tools\cocos2d-console\bin
python cocos.py new HelloCpp -p com.coco2dx.org -l cpp -d D:\cocos2dProjects
用adt导入D:\cocos2dProjects\Test01\proj.android
project.properties
android.library.reference.1=../../../cocos2d/cocos/platform/android/java
项目属性:
NDK_TOOLCHAIN_VERSION=4.8
原文链接:https://www.f2er.com/cocos2dx/339506.html