3
我正在嘗試使用Proguard來模糊我的Android應用程序。此外,我正在使用IntelliJ Idea 11.1.3構建發行版簽名APK,其中包含Run Progard在打開模塊設置 - >構面 - >編譯器 - >運行Proguard中選擇的選項。org.apache.commons.collections.BeanMap:找不到引用類java.beans.Introspector
該應用程序編譯沒有任何錯誤,當我不使用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。所以我不能接受你的答案.. – StarWind0
@StarWind你發佈詳細的答案。我會接受你的回答。 –
_「只有在你知道你在做什麼時才使用-twtwarn選項!」_,@GauravAgarwal,你知道你在做什麼嗎? – Eido95