0
當我使用httpclient-4.5.2.jar
+ httpcore-4.4.4.jar
,Proguard
工作正常。但是,當我通過org.apache.http.legacy.jar
更換上面的包,以下是報道Proguard
錯誤:org.apache.http.legacy.jar Proguard錯誤
Proguard returned with error code 1. See console
Note: there were 273 duplicate class definitions.
Warning: library class android.webkit.WebView depends on program class android.net.http.SslCertificate
Warning: library class android.webkit.WebView depends on program class android.net.http.SslCertificate
Warning: library class android.webkit.WebViewClient depends on program class android.net.http.SslError
You should check if you need to specify additional program jars.
Warning: 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.
java.io.IOException: Please correct the above warnings first.
at proguard.Initializer.execute(Initializer.java:321)
at proguard.ProGuard.initialize(ProGuard.java:211)
at proguard.ProGuard.execute(ProGuard.java:86)
at proguard.ProGuard.main(ProGuard.java:492)
我該如何解決呢?