How to obfuscate my android project in eclipse IDE?

前端 未结 5 539
醉梦人生
醉梦人生 2020-12-09 12:48

I want minimize my app size as well as avoid the app from reverse-engineering. Can anybody help with simple answer?

5条回答
  •  一个人的身影
    2020-12-09 13:09

    1) Download latest proguard from "http://sourceforge.net/projects/proguard/files/". Current latest version is proguard4.7

    2) Replace "bin" and "lib" folder of "path of your SDK\tools\proguard" with latest downloaded proguard folders.

    3) Check SDK location in eclipse for blank spaces in it and for that go to window > Preferences > Android. If there is blank space then replace it with:

    Pathe of Android SDK

    4) Check that proguard.cfg file is in your project's root folder and add "proguard.config=proguard.cfg" in project.properties file of android project.

    5) Now export your project to get obfusticated apk.

提交回复
热议问题