How to avoid unused resources and code from an Android Library Project getting into my APK?

前端 未结 3 533
[愿得一人]
[愿得一人] 2021-02-08 17:01

I have an Android Library Project in my Eclipse workspace, that I use as a unique toolbox. By chance(1), I just discovered that resources from the library (xml animations, xml l

3条回答
  •  梦如初夏
    2021-02-08 17:59

    Proguard can strip unused code.

    But it won't do anything about unused resources and it'll also obfuscate your code. You have to give it some thought before using it.

提交回复
热议问题