useLibrary'org.apache.http.legacy' - Proguard错误

时间:2018-06-16 10:42:36

标签: android android-proguard

没有org.apache.http.legacy.jar我看到了这些Proguard错误:

Proguard returned with error code 1. See console
Warning: com.google.android.gms.internal.ads.zzah: can't find referenced class org.apache.http.Header
Warning: com.google.android.gms.internal.ads.zzah: can't find referenced class org.apache.http.HttpEntity
Warning: com.google.android.gms.internal.ads.zzah: can't find referenced class org.apache.http.HttpResponse
Warning: com.google.android.gms.internal.ads.zzah: can't find referenced class org.apache.http.StatusLine
Warning: there were 33 unresolved references to classes or interfaces.

添加org.apache.http.legacy.jar

Proguard returned with error code 1. See console
Note: there were 7 duplicate class definitions.
      (http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass)
Warning: library class org.apache.http.conn.scheme.LayeredSocketFactory extends or implements program class org.apache.http.conn.scheme.SocketFactory
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
Warning: there were 4 instances of library classes depending on program classes.

我该如何解决这个问题?

0 个答案:

没有答案