2

I am developing Flutter app. I have build my app as the following:

flutter build appbundle --obfuscate --split-debug-info=./debug -v

I'm facing the above warning on play store console:

There is no deobfuscation file associated with this App Bundle. If you use obfuscated code (R8/proguard), uploading a deobfuscation file will make crashes and ANRs easier to analyse and debug.

From android studio decode an obfuscated stack trace documentation it seems that I need to upload a mapping.txt file.

  1. I cannot locate the file in my Flutter project. Where is it?
  2. How to upload the file to play store console?
genericUser
  • 4,417
  • 1
  • 28
  • 73

1 Answers1

0

try enabling minify

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

mapping.txt file location

./app/build/outputs/mapping/release/mapping.txt 
Manish Dhruw
  • 753
  • 9
  • 18