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