初次在用Android手机调试Android程序的时候控制台会显示以下内容:
?
Device 'OPhone-5DFEC3B5' 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