Finding obfuscated stack trace generated by proguard

I created a sample app in android studio. After starting proguard, the mapping file was placed in the mappings.txt file due to personal preference. Everything seems to be working fine. However, I thought my code would be confusing. My "text" textview has been renamed "p" to match the mappings.txt file. However, when I open my project, I still see the same code as before, I even set a newline to "text" and the program works fine. Why is my code not getting confused. I'm trying to find a confusing stack trace, who knows where it is. By the way, I ran proguard in debug mode. Android must include video in ProGuard tool. It takes time from the actual development of the code.

+3


source to share


1 answer


Proguard doesn't change your code, it renames the field and method names, but in the generated apk, not in your code.

You need to defocute the stack trace. To do this, you can follow these steps:



  • Open /tools/proguard/bin/proguardgui.bat
  • Select ReTrace in the left column.
  • Add a mapping file and stack trace obfuscation.
  • Click ReTrace
+6


source







All Articles