Warning: library class android.webkit.WebView depends on program class android.webkit.WebViewClient
Warning: there were 1 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:308)
at proguard.ProGuard.initialize(ProGuard.java:210)
at proguard.ProGuard.execute(ProGuard.java:85)
at proguard.ProGuard.main(ProGuard.java:499)
Can anyone specify the complete procedure to proguard my application.
This warning is described here:
ProGuard manual > Troubleshooting > Warning: library class ... depends on program class ...
A complete configuration for Android is provided here:
ProGuard manual > Examples > A complete Android application
However, the easiest way is probably the build process of the Android SDK, which includes ProGuard:
Android SDK Dev Guide > Tools > ProGuard
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With