AndroidStudio: What does 'debuggable' do?

后端 未结 2 457
礼貌的吻别
礼貌的吻别 2020-12-07 02:40

I would like to know exactly what the debuggable true statement does:

// build.gradle
android
  {         
    buildTypes
      {
        debug
         


        
2条回答
  •  时光取名叫无心
    2020-12-07 03:20

    It causes the Android gradle plugin to include the debuggable flag in the application manifest when it is generated. This allows debuggers to attach to the app while running in the emulator or on device.

提交回复
热议问题