`

Android 无法调试

阅读更多

 

(1)

[2011-06-23 18:59:27 - LayoutTest] Device 'SH11DPL07948' requires that applications explicitely declare themselves as debuggable in their manifest.

[2011-06-23 18:59:27 - LayoutTest] Application 'com.test' does not have the attribute 'debuggable' set to TRUE in its manifest and cannot be debugged.

 

 

出现以上情况的解决办法为:在AndroidManifest.xml里修改

 <application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">

 

 

 

(2)

Application (com.test )is waiting for the ebugger to attach错误

 

解决办法在AndroidManifest.xml里

<manifest>
  <uses-permission android:name="android.permission.SET_DEBUG_APP"></uses-permission>
</manifest> 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics