转载请注明出处:http://blog.csdn.net/xujim
在ndkr9上进行验证,可参考ndkpath/docs/NDK-GDB.html文件,其必须满足一些条件。
除此之外由于其本身的bug:
1, 在windows下你必须在cygwin下调试
2, 在cygwin下,你必须重新设置NDK_MODULE_PATH到环境变量中.否则报类似以下错误:
AndroidNDK installation path: /Library/AndroidSDK/ndk/
Usingspecific adb command: /Library/AndroidSDK/platform-tools/adb
ADBversion found: Android Debug Bridge version 1.0.31
UsingADB flags:
Usingauto-detected project path: .
Foundpackage name: com.dev.project
jni/Android.mk:18: * Android NDK:Aborting. . Stop.
ABIstargetted by application: Android NDK:
DeviceAPI Level: 17
DeviceCPU ABIs: armeabi-v7a armeabi
ERROR:The device does not support the application's targetted CPU ABIs!
Devicesupports: armeabi-v7a armeabi
Packagesupports: Android