无法启动应用程序调试 - 在Eclipse中结合使用C / Java android应用程序

时间:2014-02-26 15:12:17

标签: java c++ eclipse android-ndk

NDK_LOCATION设置正确。 ndk-build命令完成,我可以在/ libs / areabi-v7a中看到库 - 我也尝试构建所有平台,但消息仍然存在。该应用程序不会在eclipse控制台中以此消息开头:

[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] Android
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] NDK:
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] Could
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] not
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] find
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] platform
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] files
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] (headers
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] and
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] libraries)
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] 
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] 
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] 
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] 
Android
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] NDK:
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] Please
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] run
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] build/tools/gen-platforms.sh
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] to
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] build
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] the
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] corresponding
[2014-02-26 15:56:16 - fgeclient] Unknown Application ABI: 
[2014-02-26 15:56:16 - fgeclient] directory.
[2014-02-26 15:56:16 - fgeclient] Unable to detect application ABI's

在我将应用程序转换为eclipse中的组合java / C ++项目之前,我能够运行它(我手动构建本机部分)虽然我在本机级别遇到错误 - 因此我尝试调试它。

我的环境是Win7 / Cygwin。

关于运行build / tools / gen-platforms.sh的建议 - 这个脚本用于为内核android东西生成调试库(并且已经预构建并作为ndk的一部分包含在内)

有人有任何建议如何解决吗?

我在家里和同样的工作中尝试了相同的结果(这可能意味着我犯了两次相同的错误,但这可能是一些系统错误)

作为参考,我已经打包了我的项目&上传到此处 - http://ulozto.cz/xQurLAUV/fgeclient-zip

enter image description here

1 个答案:

答案 0 :(得分:0)

此处显示ndk未找到相关ABI的日志,必须按日志中的提示尝试运行build/tools/gen-platforms.sh脚本。