How can I check/upgrade Proguard version whn using it in Eclipse for Android development?

后端 未结 3 631
余生分开走
余生分开走 2020-12-13 13:56

The documentation on this is extremely poor. I understand that ProGuard can be enabled by manually editing \"default.properties\" in the project\'s rot directory. And all th

3条回答
  •  孤街浪徒
    2020-12-13 14:08

    The ProGuard jar is located inside the Android SDK: android-sdk/tools/proguard/lib/proguard.jar

    You can print out its version number with

    java -jar android-sdk/tools/proguard/lib/proguard.jar
    

    (with the proper path). If necessary, you can replace the jar (actually, the entire proguard subdirectory) with the latest version from the download page at the official ProGuard site.

提交回复
热议问题