When using Proguard, do you need a separate config for each referenced library?

后端 未结 2 1682
有刺的猬
有刺的猬 2021-02-06 13:37

My application has references to HoloEverywhere and SherlockActionBar, both which are in-workspace projects. When I enabled Proguard for the application only, it crashes giving

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-06 14:29

    No you do not.

    Use these rules to keep the referenced classes un-obfuscated.

    -keep class com.actionbarsherlock.** {*;}
    -keep class org.holoeverywhere.** {*;}
    

提交回复
热议问题