Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android version release warning message: This App Bundle contains Java/Kotlin code, which might be obfuscated

I got this warning message:

This App Bundle contains Java/Kotlin code, which might be obfuscated. We recommend you upload a deobfuscation file to make your crashes and ANRs easier to analyze and debug

what does it mean? what is the shortest solution for this?

like image 893
ar36el Avatar asked Sep 04 '20 23:09

ar36el


2 Answers

Seems like it's a warning message coming from the new play console, you can solve it just by setting your minimum api level to 29 or even better by uploading the retrace mapping file as described here. Enable minify :

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

After building apk/app bundle you can find /app/build/outputs/mapping/release/mapping.txt file . New console will allow you to upload mapping.txt along with your apk or bundle. You can find this option from App bundles and APKs menus.(According to this)

like image 113
Sharif Rafid Ur Rahman Avatar answered Nov 05 '22 21:11

Sharif Rafid Ur Rahman


Just changing minifyEnabled to true worked for me

like image 18
Rushabh Waghmare Avatar answered Nov 05 '22 21:11

Rushabh Waghmare