Page 1 of 1

android studio proguard config

Posted: 16 May 2018, 13:32
by mihi
Hi,

When is build my project in android with minifyEnabled=true get some errors about Sfs.
What's Sfs proguard config?

Thanks

Re: android studio proguard config

Posted: 16 May 2018, 14:34
by Lapo
Hi,
we've already replied to your email request.

Cheers

Re: android studio proguard config

Posted: 16 May 2018, 17:23
by mihi
Hi,

I did many searches to solve the problem, but finally i solved that myself:

-keep class org.python.*{ *; }
-dontwarn org.python.**
-keep class com.smartfoxserver.*{ *; }
-dontwarn com.smartfoxserver.**
-keep class org.jaxen.*{ *; }
-dontwarn org.jaxen.**
-keep class java.rmi.*{ *; }
-dontwarn java.rmi.**
-keep class org.jboss.*{ *; }
-dontwarn org.jboss.**

just use above lines in your proguard
Thanks.

Re: android studio proguard config

Posted: 17 May 2018, 07:29
by Lapo
Thanks