本文主要是介绍re w混淆拍错解决there 3 instances of library classes depending on program classes.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Fixes: can't find dynamically referenced class org.apache.harmony.xnet.provider.jsse.NativeCrypto
it.WebViewClient depends on program class android.net.http.SslError
等等..诸如此类错误
错误提示
# there were 3 instances of library classes depending on program classes.
# You must avoid such dependencies, since the program classes will
# be processed, while the library classes will remain unchanged.
意思是有jar中有3个实例代码有依赖,必须 避免如此依赖, 因为在程序处理class之后,这个class将不会改变。
解决办法:
-keep class org.apache.http.**{*;}
-dontwarn org.apache.http.**
-dontwarn android.net.**
实际上是我引入了org.apache.http.legacy.jar
需要进行保持.
这篇关于re w混淆拍错解决there 3 instances of library classes depending on program classes.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!