【发布时间】:2016-02-20 13:41:35
【问题描述】:
我已经为此安装了所有 cocos2dx 要求。当我创建一个 cocos2dx 项目时,该目录已创建:
现在我想在 android studio 上打开它。现在,当我打开 proj.android-studio 时,我无法运行项目,它需要 edit configuration 。现在我应该为运行这个 hello world 游戏做哪些配置?
并考虑这一点,我在 cocos2dx 中是全新的。
感谢您的帮助
【问题讨论】:
-
在proj.android-studio文件夹中打开cmd,执行
cocos compile -p android --android-studio。然后打开android studio,再次导入。 -
Android Studio 不提供对 c++ 项目的良好支持。事实上,我个人使用 Visual Studio 开发 cocos2dx 项目并使用上面的命令为 android 编译
标签: java android android-studio cocos2d-x