我的环境:Windows7 X64 8GRAM+Visual Studio2013+Python2.7.6
在http://cn.cocos2d-x.org/download/下载cocos2d-x-2.2.3,并解压到你的某个disk;
具体配置步骤见官网:
http://cn.cocos2d-x.org/article/index?type=cocos2d-x&url=/doc/cocos-docs-master/manual/framework/native/v2/getting-started/setting-up-development-environments/windows-7-environment-setup/setup-win32-development-environment/zh.md
遇到的问题:
根据官网创建项目命令:python create_project.py -project myTest -package com.myPackage -language cpp,提示仅ios done!,如下:
看到最后一行提示list out of range再看倒数第二行的dst_pkg[i],pkg即包名,所以想到是包命名错误,将两段改为三段即可,run success!
原文链接:https://www.f2er.com/cocos2dx/345417.html