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)
任何人都可以指定完整的程序来保护我的应用程序。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此警告的描述如下:
ProGuard 手册 >故障排除>>警告:库类...取决于程序类...
这里提供了 Android 的完整配置:
ProGuard 手册 >示例>一个完整的Android应用程序
然而,最简单的方法可能是Android SDK的构建过程,其中包括ProGuard:
Android SDK 开发指南 >工具>混淆器
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