天天看點

Android手機無法使用debug解決方法

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

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

android:label="@string/app_name"

android:debuggable="true"> 

繼續閱讀