带有proguard的com.esri.arcgis.android:arcgis-android:10.2.6-2 [英] com.esri.arcgis.android:arcgis-android:10.2.6-2 with proguard
本文介绍了带有proguard的com.esri.arcgis.android:arcgis-android:10.2.6-2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在启用了proguard的情况下使用com.esri.arcgis.android:arcgis-android:10.2.6-2? 我正在尝试
How to use com.esri.arcgis.android:arcgis-android:10.2.6-2 with proguard enabled? I am trying
-keep class com.esri.** {*; } -keep接口com.esri.** {*; }
-keep class com.esri.** { *; } -keep interface com.esri.** { *; }
但没有帮助.
推荐答案
最后,我找到了有效的答案,并将其包含在我的proguard规则文件中.
Finally I found the working answer for it, and included this to my proguard rule file.
-keep class com.esri.** { *; }
-keep interface com.esri.** { *; }
-keep class org.codehaus.jackson.** { *; }
-dontwarn org.codehaus.jackson.map.ext.**
-dontwarn jcifs.http.**
为我工作.
这篇关于带有proguard的com.esri.arcgis.android:arcgis-android:10.2.6-2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文