一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

解决Android手机无法调试方法介绍

时间:2013-06-19 编辑:简简单单 来源:一聚教程网

错误提示

Device 'HT843KV11551' requires that applications explicitely declare themselves as debuggable in their manifest.

Application 'com.test' does not have the attribute 'debuggable' set to TRUE in its manifest and cannot be debugged.

解决办法

Android.manifest 文件中添加Debug项目,在可视化界面选择application选项卡然后将Debugable的值设置为true

点击查看原图

编辑源码的添加方式则是在 字段中增加一个属性:android:debuggable="true"