Generate minimized jar with only used classes

前端 未结 4 1321
失恋的感觉
失恋的感觉 2021-01-17 11:44

I\'m in need of creating the minimal jar of utils library for use in Android. I\'m using some methods from apache commons libraries (such as IOUtils, Stri

4条回答
  •  春和景丽
    2021-01-17 12:15

    I guess if you use Eclipse to JAR the project it gives some options to do that while JARing :) Maybe it will be useful.

    Also you can collect your used library classes under a custom library and include this user created library in the project.

提交回复
热议问题