KagayamaKaede / ShadowsocksRDroid

A ShadowsocksR client for Android4.0+.Compatible Shadowsocks protocol and support some ShadowsocksR function.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

have you handled the proguard issue?

yantao2hao opened this issue · comments

On my device(android 5.1.1), It worked fine. If you have any advice, thanks for share.

-keep class com.proxy.shadowsocksr.** { *; }
All the classes are not proguard,but if remove this,it don't work.
i have device from 4.2 to 4.4,they all do not work.

I am not familiar with proguard, I still learning it , so, sorry, I do not have any solutions yet.

Thank you so much

@yantao2hao
hi,I research some proguard knowledge.
I use public fields in Serializable class. so, add below to keep 2 class:

-keep class com.proxy.shadowsocksr.items.SSRProfile { *; }
-keep class com.proxy.shadowsocksr.items.GlobalProfile { *; }

Then, issue should be resolved. Later I will push the latest code。