我正在尝试使用android ndk在eclipse中调试cocos 2d-x android项目,但我收到以下错误
NDK:请运行build / tools / gen-platforms.sh来构建相应的目录
我的控制台输出如下
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] Android
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] NDK:
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] Could
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] not
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] find
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] platform
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] files
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] (headers
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] and
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] libraries)
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4]
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4]
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4]
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4]
Android
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] NDK:
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] Please
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] run
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] build/tools/gen-platforms.sh
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] to
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] build
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] the
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] corresponding
[2014-04-21 16:12:28 - Check4] Unknown Application ABI:
[2014-04-21 16:12:28 - Check4] directory.
[2014-04-21 16:12:28 - Check4] Unable to detect application ABI's
NDK版-android-ndk-r9c .. 感谢。
答案 0 :(得分:0)
您要针对哪个平台API级别进行编译?
尝试为清单和Application.mk文件中的minSdkVersion设置相同的级别,并检查是否有此平台的标题(在ndk/platforms/
内)
示例:
android:minSdkVersion="14"
APP_PLATFORM := android-14