release with an obfuskator

520
2
Jump to solution
05-14-2018 02:14 AM
AnatolyTorbov
New 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
New Contributor III

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
New Contributor III

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
New Contributor

Thank you! This is the right advice.

0 Kudos