无法检测应用ABI的尝试调试NDK时ABI、NDK

由网友(深情何须显摆)分享简介:我试图调试在Eclipse上使用ADT 20.0.3 Android应用程序与本地code和它给我这个错误:I'm trying to debug an Android application with native code using ADT 20.0.3 on Eclipse and it's giving m...

我试图调试在Eclipse上使用ADT 20.0.3 Android应用程序与本地code和它给我这个错误:

I'm trying to debug an Android application with native code using ADT 20.0.3 on Eclipse and it's giving me this error:

[2012-10-04 12:09:12 - ndk_android] Unknown Application ABI: 
[2012-10-04 12:09:12 - ndk_android] 
[2012-10-04 12:09:12 - ndk_android] Unable to detect application ABI's

JNI的文件,建立正常,我可以运行的应用程序,与本机code。

The jni files build properly and I can run the application, with the native code.

我的构建文件Application.mk看起来是这样的:

My build file Application.mk looks like this:

APP_OPTIM        := debug
APP_ABI := armeabi armeabi-v7a
APP_STL := gnustl_static

LOCAL_LDLIBS := $(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_static.a

有谁知道这个错误的原因是?有没有人得到了与ADT 20的工作机调试?

Does anyone know what the cause of this error is? Has anyone gotten Native debugging to work with ADT 20?

我下面从这里的指南:http://tools.android.com/recent/usingthendkplugin

编辑:

清理和删除临时文件/文件夹/设置后,我仍然得到同样的错误。然后我安装了一个干净的Eclipse。安装了CDT,那么ADT,这似乎已经解决了这个问题。我认为,问题出在塞阔亚或其他插件/设置在Eclipse。

After cleaning and removing temporary files/folders/settings I was still getting the same error. I then installed a clean Eclipse. Installed the CDT, then the ADT, and that seems to have fixed this problem. I believe the problem was with Sequoyah or another plugin/settings in Eclipse.

这解决了,但现在我得到了另一个问题。该断点不工作,但我会继续,对于另外一个问题。

This was solved, but now I'm getting another problem. The breakpoints aren't working, but I'll keep that for another question.

推荐答案

我认为问题出在塞阔亚或在Eclipse另一个插件/设置。我安装了一个干净的Eclipse。安装了CDT,那么ADT,而且似乎解决了这个问题。

I believe the problem was with Sequoyah or another plugin/settings in Eclipse. I installed a clean Eclipse. Installed the CDT, then the ADT, and that seem fixed this problem.

阅读全文

相关推荐

最新文章