Status Update
Comments
an...@gmail.com <an...@gmail.com> #2
any update for this
hu...@google.com <hu...@google.com>
xa...@google.com <xa...@google.com> #3
We already print out the mapping file. It's located in the output folder under build. The reason we don't want you to provide a version like this is that it wouldn't be variant aware.
Description
Inside build.gradle:
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
Inside proguard-rules.pro:
-printmapping proguard-mapping.txt
In previous Android Studio versions mapping file specified using printmapping got generated at the root folder of the project. Mapping file is generated in a default location at build/output folder but it ignores printmapping option so now you cannot give it a custom name or location at build time.