Android手机无法使用debug解决方法

来源:互联网 发布:网络职业技术学校 编辑:程序博客网 时间:2024/04/30 21:41

原文:http://da-en.iteye.com/blog/645916

描述: 
用HTC HERO debug,报错: 
Device 'device_name' requires that applications explicitely 
declare themselves as debuggable in their manifest. 
Application 'com.prj.test01' does not have the attribute 
'debuggable' set to TRUE in its manifest and cannot be debugged 


解决方法: 在AndroidManifest.xml文件中添加android:debuggable字段,如下所示。

 

原创粉丝点击