【问题标题】:Proguard giving the following error while exporting the applicationProguard 在导出应用程序时给出以下错误
【发布时间】:2011-12-05 17:41:06
【问题描述】:
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)

谁能指定完整的程序来保护我的应用程序。

【问题讨论】:

标签: android proguard


【解决方案1】:

此处描述了此警告:

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

【讨论】:

    猜你喜欢
    • 2016-01-14
    • 2013-07-09
    • 1970-01-01
    • 1970-01-01
    • 2019-05-04
    • 2015-03-26
    • 1970-01-01
    • 2022-11-14
    • 1970-01-01
    相关资源
    最近更新 更多