Failed to access jarfile./lib/proguardgui.jar

I am trying to restore the stack trace I received on the Android Market. I used proguard with the APK before sending the app to the market. Unfortunately, every time I run the retrace tool, I get the error "Unable to access jarfile./lib/proguardgui.jar".

I am running on Mac OS X Lion.

Manuel-Ciosicis-MacBook-Pro:bin manuelciosici$ pwd /Applications/android-sdk-mac_x86/tools/proguard/bin Manuel-Ciosicis-MacBook-Pro:bin manuelciosici$ sudo ./retrace.sh -verbose /Users/manuelciosici/Documents/workspace/TweakkerAllOperatorsApn/proguard/mapping.txt /Users/manuelciosici/Desktop/obfuscated_trace.txt Password: Unable to access jarfile ./lib/retrace.jar Manuel-Ciosicis-MacBook-Pro:bin manuelciosici$ 

This is the first time I'm using proguard with an app. I know for sure that the mapping.txt file is correct. What am I doing wrong?

+6
source share
1 answer

The script is very simple, but it turns out that it fails if it is called as ./retrace.sh . It works if it is called as bin/retrace.sh from the directory above or with an absolute path, for example. That's my fault; I will fix this for the next version (ProGuard 4.7).

+6
source

Source: https://habr.com/ru/post/893668/


All Articles