Used software:
Visual Studio 2012 Express
cocos2d-x 2.0-x-2.0.4
cygwin 1.7.5.
Eclipse 3.8
Android SDK last
Android NDK r8c
I am new in development for Android, so don't understand what is wrong. Trying to build cocs2d-x standart testcpp project. First trouble was when when i runned create-android-project.bat
- it didn't shows target versions of Android (target - v.2.3.3.), but all paths are correct.
At last it build project folder. But next step - building pack in cygwin - fails in case of hundreds of "file or folder not exists" errors of headers, didn't uses a lot of STL headers and ask for <string.h>
but not just <string>
.
What am i doing wrong?
在android项目文件夹的build_native.sh文件中设置NDK路径,然后使用cygwin执行build_native.sh
您必须将build_native.sh中的APPNAME变量重命名为eclipse项目名称
尝试更新android-NDK,我使用NDK-r8d遇到同样的错误,并尝试执行build-native脚本。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.