com.esri.arcgis.android:arcgis-android:10.2.6-2 with proguard

南楼画角 提交于 2020-08-07 05:57:00

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/34787925/com-esri-arcgis-androidarcgis-android10-2-6-2-with-proguard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!