When I use proguard in android studio, I notice that there are -keep class mypakageName.**{*;}
to keep the class in my package and -keep interface mypackageName.**{*;}
to keep the interface in my package etc... but I find it is fussy, can't I keep all the files in my package in just one sentence? Or is there a method can do that?
使用-keep class
将保留任何Java类型,包括类,接口,枚举。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.