breautek commented on issue #1008:
URL:
https://github.com/apache/cordova-android/issues/1008#issuecomment-682092997
> 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.
I briefly looked at this issue before and I believe this is the proper fix.
I'd support a PR that adds this to the `cordova-android` project `build.gradle`
file. I believe it should be added to
https://github.com/apache/cordova-android/blob/master/bin/templates/project/build.gradle
?
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]