Select to view content in your preferred language

release with an obfuskator

648
2
Jump to solution
05-14-2018 02:14 AM
AnatolyTorbov
Emerging Contributor

There is a problem if the release maked with obfuscator

release {
    minifyEnabled true
...
}

Then in this case ArcGIS crashes.

How to do release with an obfuskator?

0 Kudos
1 Solution

Accepted Solutions
AsifIsmail
Regular Contributor

i use this in my progaurd file 

-keep class com.esri.** { *; }
-keep interface com.esri.** { *; }
-keep class org.codehaus.jackson.** { *; }
-dontwarn org.codehaus.jackson.map.ext.**
-dontwarn jcifs.http.**

 -keepattributes *Annotation*
 -keepattributes SourceFile,LineNumberTable
 -keep public class * extends java.lang.Exception

View solution in original post

2 Replies
AsifIsmail
Regular Contributor

i use this in my progaurd file 

-keep class com.esri.** { *; }
-keep interface com.esri.** { *; }
-keep class org.codehaus.jackson.** { *; }
-dontwarn org.codehaus.jackson.map.ext.**
-dontwarn jcifs.http.**

 -keepattributes *Annotation*
 -keepattributes SourceFile,LineNumberTable
 -keep public class * extends java.lang.Exception
AnatolyTorbov
Emerging Contributor

Thank you! This is the right advice.

0 Kudos