gpt4 book ai didi

android - org.apache.commons.collections.BeanMap : can't find referenced class java. beans.Introspector

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

我正在尝试使用 Proguard 来混淆我的 Android 应用程序。此外,我正在使用 IntelliJ Idea 11.1.3 构建发布签名的 APK,并在“打开模块设置”->“方面”->“编译器”->“运行混淆器”中选择了运行混淆器选项。

当我不使用 Proguard 时,应用程序编译没有任何错误,但使用 Proguard 时出现以下错误

Error:[MyApp] Warning: org.apache.commons.collections.BeanMap: can't find referenced class java.beans.Introspector
Error:[MyApp] Warning: org.apache.commons.collections.BeanMap: can't find referenced class java.beans.BeanInfo
Error:[MyApp] Warning: org.apache.commons.collections.BeanMap: can't find referenced class java.beans.PropertyDescriptor
Error:[MyApp] Warning: org.apache.commons.collections.BeanMap: can't find referenced class java.beans.IntrospectionException
Error:[MyApp] Warning: there were 14 unresolved references to classes or interfaces.
Error:[MyApp] You may need to specify additional library jars (using '-libraryjars').
Error:[MyApp] Error: Please correct the above warnings first.

如何消除这些错误?

最佳答案

我添加了以下几行并消除了错误

-dontwarn org.apache.commons.collections.BeanMap
-dontwarn java.beans.**

关于android - org.apache.commons.collections.BeanMap : can't find referenced class java. beans.Introspector,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13122476/

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