本文介绍了org.apache.commons.collections.BeanMap:找不到引用的类java.beans.Introspector中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用Proguard的混淆为我的Android应用程序。另外我使用的IntelliJ IDEA 11.1.3建立释放签订APK用的运行的Proguard 的开放模块设置所选的选项 - >构面 - >编译器 - >运行的Proguard
I am trying to use Proguard for obfuscating my Android app. Also I am using IntelliJ Idea 11.1.3 to build the release signed APK with Run Proguard option selected in Open Module Settings -> Facets -> Compiler -> Run Proguard.
应用程序被编译没有任何错误,当我不使用Proguard的,但使用ProGuard我收到以下错误
The application is compiling without any error when I don't use Proguard but with Proguard I am getting the below errors
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.
如何删除这些错误?
How to remove these errors?
推荐答案
我添加了以下行并删除它的误差
I have added the following lines and it removed the error
-dontwarn org.apache.commons.collections.BeanMap
-dontwarn java.beans.**
这篇关于org.apache.commons.collections.BeanMap:找不到引用的类java.beans.Introspector中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!