Closed yantao2hao closed 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.
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。
On my device(android 5.1.1), It worked fine. If you have any advice, thanks for share.