Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Android Studio save the ProGuard mapping file?

In Android Studio, where are the ProGuard mapping files generated after compiling a signed APK?

I'm not sure if it isn't working or if I just forgot the file path, and my compulsory Google/Stack Overflow search did not answer this

like image 941
CQM Avatar asked Oct 15 '22 03:10

CQM


People also ask

Where is ProGuard Android optimize txt?

The getDefaultProguardFile() refers default file “proguard-android. txt” which gets from the Android SDK tools/proguard/ folder. You can also use “proguard-android-optimize. txt” file for more code shrinking located on the same folder.

What is retrace mapping file?

R8 retrace is a tool for obtaining the original stack trace from an obfuscated stack trace. The stack trace is reconstructed by matching class and method names in a mapping file to their original definitions.


2 Answers

It should be located at build/outputs/proguard/release/mapping.txt in your application module's directory.

In the latest version of ProGuard and Android Studio, the file is located at build/outputs/mapping/release/mapping.txt.

like image 128
Scott Barta Avatar answered Nov 04 '22 15:11

Scott Barta


For me they are at 'build/outputs/mapping/release'

like image 36
Tom Avatar answered Nov 04 '22 15:11

Tom