debuggable=true
in release mode apk. When I tried to hard code this property I am getting below error
"Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one".
So I updated build.gradle as below,
buildTypes {
release {
minifyEnabled true
debuggable false
testCoverageEnabled = true
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
signingConfig signingConfigs.release
}
debug {
testCoverageEnabled = true
minifyEnabled false
debuggable true
}
}
But nothing seems working. What I am doing wrong? I am using Android Studio 2.2.2 and I have few flavors defined in build.gradle.