How to debug the Android App in release mode using Android studio

前端 未结 5 1852
不知归路
不知归路 2020-12-14 14:48

For some reason I have to run my Android App in release mode.I have to run through the code when running the app just like we use in debug mode. My break points are not hitt

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-14 15:10

     buildTypes {
        release {
        debuggable true
        minifyEnabled true
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
    }
    }
    

    happy coding.Mark this answer up..if it helps.. :)

提交回复
热议问题