閱讀835 返回首頁    go 阿裏雲 go 技術社區[雲棲]


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

原文:https://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"> 

最後更新:2017-04-02 06:51:39

  上一篇:go Android NDK 安裝配置指南
  下一篇:go 從JAVA多線程理解到集群分布式和網絡設計的淺析