OS:Windows8的64ndk8e調試錯誤 「無法檢測應用ABI的」
的Eclipse:ADT束的形式,http://developer.android.com/sdk/index.html
NDK:NDK8e用於Windows 64從http://developer.android.com/sdk/index.html。
我將Windows/Preference/Android/NDK設置爲corect NDK路徑。
我做什麼:
導入HELLO-JNI從SAMPE%的Android NDK%/樣品到Eclipse
修改AndroidManifext.xml
<uses-sdk android:minSdkVersion="3" /> to <uses-sdkandroid:minSdkVersion="17" />
添加本地支持
右鍵單擊該項目,Android Tools/Add Native Support。在
打開調試右鍵單擊項目,屬性/ 「C/C++構建」/構建設置,修改生成命令爲 「NDK-建立NDK_DEBUG = 1」
設置斷點在C代碼中。
Debug As/Android Native Application。
我希望在拖曳電腦中做到這一點。但是有兩個錯誤信息。
一種是像波紋管:
[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
另一個是像波紋管:
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().
'無法爲73個庫加載共享庫符號'是正常的,您的設備上沒有系統庫的符號信息。 –