Proguard在导出应用程序时出现以下错误

Che*_*tan 6 android proguard

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)
Run Code Online (Sandbox Code Playgroud)

任何人都可以指定完成我的应用程序的完整程序.

Eri*_*une 4

此警告的描述如下:

ProGuard 手册 > 故障排除 > 警告:库类 ... 取决于程序类 ...

这里提供了 Android 的完整配置:

ProGuard 手册 > 示例 > 一个完整的 Android 应用程序

然而,最简单的方法可能是 Android SDK 的构建过程,其中包括 ProGuard:

Android SDK 开发指南 > 工具 > ProGuard