Android的NDK未能调试和QUOT;无法检测应用ABI的" [英] Android NDK fails to debug "Unable to detect application ABI's"

查看:144
本文介绍了Android的NDK未能调试和QUOT;无法检测应用ABI的"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当试图在调试机器人日食NDK code我得到这个错误:

  [2014年8月20日十一时33分26秒 -  HelloJni]未知应用ABI:
[2014年8月20日11点33分26秒 - HelloJni]
[2014年8月20日11点33分26秒 - HelloJni]无法检测应用ABI的

有另外3人谁也于同code工作,但没有这个问题(它只发生在我的电脑上)。

的Eclipse 4.4.0露娜
Android的NDK R10,Windows的32位程序包
ADT插件版本23.0.3

我曾尝试删除Eclipse和CDT与和ADT插件一起重新安装。我也试图从具有相同的错误的NDK调试HelloJni样本。

当我运行NDK-打造DUMP_APP_ABI我得到这样的:

  D:\\ Android的\\ Android的NDK \\样本\\ HELLO-JNI> NDK,建立DUMP_APP_ABI
所有D:\\ Android的\\ Android的NDK \\样本\\ HELLO-JNI>

还有什么已知的,可能会导致这个问题?

修改

我Application.mk看起来像这样

  APP_ABI:=所有
APP_PLATFORM:=机器人-14


解决方案

添加到APP_PLATFORM您android.mk文件。另外,请确保您已经在preferences-> Android-> NDK正确设置你的NDK的路径。

When trying to debug android NDK code in eclipse I get this error:

[2014-08-20 11:33:26 - HelloJni] Unknown Application ABI: 
[2014-08-20 11:33:26 - HelloJni] 
[2014-08-20 11:33:26 - HelloJni] Unable to detect application ABI's

There are 3 other people who also work on the same code but don't have this issue (it only happens on my computer).

Eclipse Luna 4.4.0 Android NDK r10, the Windows 32-bit package ADT plugin version 23.0.3

I have tried deleting eclipse and reinstalling it along with CDT and the ADT plugin. I've also tried to debug the HelloJni sample from the ndk with the same error.

When I run "ndk-build DUMP_APP_ABI" I get this:

D:\Android\android-ndk\samples\hello-jni>ndk-build DUMP_APP_ABI
all

D:\Android\android-ndk\samples\hello-jni>

Is there anything else known that could cause this problem?

EDIT

my Application.mk looks like this

APP_ABI := all
APP_PLATFORM := android-14

解决方案

Add APP_PLATFORM to your android.mk file. Also make sure you have set your NDK path correctly on Preferences->Android->NDK.

这篇关于Android的NDK未能调试和QUOT;无法检测应用ABI的"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆