You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/10/06 14:13:48 UTC

[GitHub] [cordova-android] juanferrgiraldo commented on issue #1008: New BETA Version of Google Play Console show this warning: [This App Bundle contains Java/Kotlin code]

juanferrgiraldo commented on issue #1008:
URL: https://github.com/apache/cordova-android/issues/1008#issuecomment-704297683


   > > I removed this warning by uploading ReTrace mapping file. It can be generated by enabling minify as follows.
   > > ```
   > >  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.
   > 
   > Thanks for your solution, just to know:
   > You don't need to upload mapping.txt file, it is already contains with bundle file (.aab).
   > So when you try to Upload the aab file to release section (production) just only add .aab file, and the file mapping.txt will included.
   > 
   > To check this please upload the aab file and then go to:
   > Go to Release/"App bundle explorer"
   > Select the right artifact in the top right corner
   > Open Downloads tab
   > Scroll to the Assests section
   > Next to the "ReTrace mapping file" you will see the mapping.txt included.
   > 
   > Regards
   
   Thanks for your help but I'm not sure if mapping.txt file is already contained in bundle file because if I look into my "Retrace mapping file" in Assests section it is empty. 
   
   ![image](https://user-images.githubusercontent.com/26995455/95213113-12738380-07b4-11eb-9576-e170eca7378d.png)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org