Not Able To Debug App In Android Studio

前端 未结 30 2590
小蘑菇
小蘑菇 2020-12-01 02:30

I am making an app in Android Studio, now trying to debug it through adb. When I click on the word Android and the logo on the bottom bar, logcat comes up and recognizes my

30条回答
  •  时光取名叫无心
    2020-12-01 03:14

    There is a Debug icon on the toolbar. It looks like a little "bug" and is located right next to the Run icon (which looks like a play button). Try launching the application with that.

    Edit: The following is deprecated when using Android Studio with Gradle.

    There is also a debug flag in the AndroidManifest.xml file. It is located under the application tag, and should be set to "true", as follows:

    
    
    

提交回复
热议问题