proguard warning: the configuration keeps the entry point…but not the descriptor class

前端 未结 6 1004
小鲜肉
小鲜肉 2021-01-03 18:45

I\'ve configured:

-keep ,allowoptimization,allowobfuscation,allowshrinking public class     org.jf.dexlib2.dexbacked.** {
    *;
}

but stil

6条回答
  •  猫巷女王i
    2021-01-03 19:03

    From the docuemnts:

    allowshrinking Specifies that the entry points specified in the -keep option may be shrunk, even if they have to be preserved otherwise. That is, the entry points may be removed in the shrinking step, but if they are necessary after all, they may not be optimized or obfuscated

    So it appears that you need to remove the allowshrinking modifier.

提交回复
热议问题