KagayamaKaede / ShadowsocksRDroid

A ShadowsocksR client for Android4.0+.Compatible Shadowsocks protocol and support some ShadowsocksR function.
Other
341 stars 103 forks source link

have you handled the proguard issue? #10

Closed yantao2hao closed 8 years ago

KagayamaKaede commented 8 years ago

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

yantao2hao commented 8 years ago

-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.

KagayamaKaede commented 8 years ago

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

yantao2hao commented 8 years ago

Thank you so much

KagayamaKaede commented 8 years ago

@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。