您的位置:首页 > 移动开发 > Android开发

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

2016-11-07 12:13 537 查看
http://lanyan-lan.iteye.com/blog/1560772



描述:

用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字段,如下所示。

<application android:icon="@drawable/icon"

android:label="@string/app_name"

android:debuggable="true">

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐