testCoverageEnabled true only in debug.

If you put it in release, this will make the APK / App Bundle debuggable, and Google Play Console will consider it's not signed. Removing this resolved the issue.
https://stackoverflow.com/a/56823288/550384

For compile sign bundle
#3566
This commit is contained in:
Tal Regev 2020-05-02 04:16:42 +03:00
parent 21b99d674c
commit 137ef46423
1 changed files with 1 additions and 2 deletions

View File

@ -63,14 +63,13 @@ android {
release {
minifyEnabled true
shrinkResources true
testCoverageEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
debug {
// Without this, a build error occurs for debug.
minifyEnabled true
debuggable true
testCoverageEnabled false
testCoverageEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}