ndk8e调试错误"无法检测应用ABI的" [英] ndk8e debug error "Unable to detect application ABI's"
问题描述
操作系统:Windows8的64
的Eclipse:ADT束的形式 http://developer.android.com/sdk/index.html
NDK:从 http://developer.android.com/sdk/index NDK8e适用于Windows 64 html的。
我将Windows设置/ preference / Android的/ NDK的NDK corect路径。
我做的:
-
导入HELLO-JNI从SAMPE%的Android NDK%/样品到Eclipse
-
修改AndroidManifext.xml
<采用-SDK安卓的minSdkVersion =3/>到<采用-sdkandroid:的minSdkVersion =17/>
-
添加本机支持
右键单击项目,Android的工具/添加原生支持。
-
打开调试上
右键单击项目,属性/C / C ++构建/生成设置,修改生成命令为NDK-打造NDK_DEBUG = 1
-
设置在C code断点。
-
调试方式/ Android原生应用。
我HAVA为此在拖电脑。但有两个错误消息。
一类是像波纹管:
[2013年6月12日0时03分09秒 - HelloJni]未知应用ABI:[2013年6月12日0时03分09秒 - HelloJni] [2013年6月12日0时03分09秒 - HelloJni]无法检测应用ABI的
另一种是像波纹管:
警告:无法加载共享库符号73库,例如/系统/ binnker。使用info sharedlibrary命令来查看完整列表。你需要设置solib搜索路径或设置SYSROOT?警告:无法找到动态连接器的断点功能。GDB会eventurally重试。同时,它很可能这GDB无法调试共享库初始化或之后的dlopen解决悬而未决的断点()。
一个此类消息的原因可能是不规则的CRLF在.xml或.properties文件在项目的根目录。
OS: Windows8 x64
Eclipse: ADT bundle form http://developer.android.com/sdk/index.html
NDK: NDK8e for Windows 64 from http://developer.android.com/sdk/index.html.
I set Windows/Preference/Android/NDK to the corect NDK path.
What I do:
Import the hello-jni sampe from %Android-NDK%/samples to Eclipse
Modify in AndroidManifext.xml
<uses-sdk android:minSdkVersion="3" /> to <uses-sdkandroid:minSdkVersion="17" />
Add Native Support
Right click the project, Android Tools/Add Native Support.
Turn debug on
Right click the project, Properties/"C/C++ build"/Build Settings, modify the Build command to "ndk-build NDK_DEBUG=1"
Set a breakpoint in the C code.
Debug As/Android Native Application.
I hava do this in tow computer. But there are two error message.
One is like bellow:
[2013-06-12 00:03:09 - HelloJni] Unknown Application ABI:
[2013-06-12 00:03:09 - HelloJni] [2013-06-12 00:03:09 - HelloJni] Unable to detect application ABI's
The Other is like bellow:
warning: Could not load shared library symbols for 73 libraries, e.g. /system/binnker.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
warning: Unable to find dynamic linker breakpoint function.
GDB will retry eventurally. Meanwhile, it is likely
that GDB is unable to debug shared library initializers
or resolve pending breakpoints after dlopen().
One of the causes of such messages may be irregular CRLF in .xml or .properties files in the project root directory.
这篇关于ndk8e调试错误&QUOT;无法检测应用ABI的&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!