
[英]Not Able to debug android application direclty from eclipse to device
[英]Not able to debug Native Application in eclipse
我正在尝试学习Android中的本机应用程序开发,为此,我创建了一个示例应用程序,现在尝试对其进行调试。 我按照本页上的教程进行调试。 但是现在当我开始使用此配置进行调试时,出现以下错误:
Error in final launch sequence
Failed to execute MI command:
-exec-run
Error message from debugger back end:
Don't know how to run. Try "help target".
Don't know how to run. Try "help target".
我的开发环境(如果需要):
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Eclipse - the eclipse ADT bundle downloaded from the android developers website
ADT package version 23.0.1.1259578
Eclipse CDT - Eclipse c/c++ Development Tools - 8.1.2.201302132326
Eclipse CDT - GDB Common - 7.0.0.201302132326
NDK - android-ndk-r10c-linux-x86_64
任何帮助表示赞赏。
使用如下所示的可调试权限:
<application
android:debuggable="true"
>
我希望这能帮到您。
通过此命令启用调试ndk-build NDK_DEBUG = 1 APP_OPTIM = debug。 不允许在android.mk文件上进行硬编码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.