gpt4 book ai didi

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

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:13:03 25 4
gpt4 key购买 nike

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)

任何人都可以指定完整的程序来保护我的应用程序。

最佳答案

这里描述了这个警告:

ProGuard manual > Troubleshooting > Warning: library class ... depends on program class ...

此处提供了 Android 的完整配置:

ProGuard manual > Examples > A complete Android application

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

Android SDK Dev Guide > Tools > ProGuard

关于android - Proguard 在导出应用程序时出现以下错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8381577/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com