I have my code obfuscated with proguard that runs when a release version is build and during the publish of the APK in the play console, I upload the mapping.txt file in "Vitals" section.
When an exception raises I can read clear code in stacktraces (in crashlytics and in Play console).
With previous version of Android studio (<= 2.3.3) all works regulary, now after the upgrade to Android studio 3.0 the same process will not de obfuscate stacktraces anymore.
I came across the migration of gradle plugin introducing the needed modifies
build.gradle (app):
flavorDimensions "mode"
productFlavors {
full {
dimension "mode"
}
}
...
buildTypes {
release {
multiDexEnabled true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.config
}
debug {
ext.enableCrashlytics = false
versionNameSuffix "-DEBUG"
}
}
What's wrong in the configuration? The mapping.txt file is correctly uploaded and accepted by Play Console. Any hint?