proguard warning library class android.webkit.WebView depends on program class android.webkit.WebViewClien

I encountered the same problem, and by hint of above, I write these lines into proguard.cfg and the problem gets solved:


-keep public class android.net.http.SslError
-keep public class android.webkit.WebViewClient

-dontwarn android.webkit.WebView
-dontwarn android.net.http.SslError
-dontwarn android.webkit.WebViewClient