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)
任何人都可以指定完成我的应用程序的完整程序。
答案 0 :(得分:3)
此警告在此处描述:
ProGuard manual > Troubleshooting > Warning: library class ... depends on program class ...
此处提供了Android的完整配置:
ProGuard manual > Examples > A complete Android application
然而,最简单的方法可能是Android SDK的构建过程,其中包括ProGuard: