Reputation: 61
I am using retrace.bat -verbose mapping.txt obfuscated_trace.txt at the command prompt.
But it's showing nothing in obfuscated_trace.txt. mapping.txt copy from project.
step:
cd *\android-sdk\tools\proguard\bin
retrace.bat -verbose mapping.txt obfuscated_trace.txt
Upvotes: 6
Views: 8764
Reputation: 114
add this => proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' and set minifyEnabled to true in app/build.gradle like
buildTypes {
debug {
}
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
create apk/aab and look at file:
app/build/outputs/mapping/[variant]/mapping.txt
or
app/build/outputs/mapping/[variant]/reTrace.txt
Upvotes: 0
Reputation: 992
Please follow the below points.
open the terminal/cmd
cd **/sdk/tools/proguard/bin/proguardgui.jar
refer the attached image, retrace GUI pop's up
select your mapping file and copy-paste your obfuscated stacktrace
That's it. Simple and easy
Upvotes: 3
Reputation: 3767
You can have Retrace GUI instead. Look here for step by step details on how to use Retrace GUI.
Basic steps follow:
Upvotes: 15
Reputation: 62549
your obfuscated_trace.xt has to actually have a stack trace in it .... paste a stack trace inside of this file and run it again and to unobfuscate the code
Upvotes: 0