我正在尝试使用 Proguard 来混淆我的 Android 应用程序。我还使用 IntelliJ Idea 11.1.3 构建发布签名的 APK运行 Proguard在“打开模块设置”->“Facets”->“编译器”->“运行 Proguard”中选择的选项。
当我不使用 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.**
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)