Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff01d39

Browse files
committed
netspylib-greenDAO 3混淆问题
1 parent 5ef33b0 commit ff01d39

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/proguard-rules.pro

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,13 @@
1919
# If you keep the line number information, uncomment this to
2020
# hide the original source file name.
2121
#-renamesourcefileattribute SourceFile
22+
23+
# greenDAO 3
24+
-keep class org.greenrobot.greendao.**{*;}
25+
-keep public class * extends org.greenrobot.greendao.AbstractDao
26+
-keepclassmembers class * extends org.greenrobot.greendao.AbstractDao {
27+
public static java.lang.String TABLENAME;
28+
}
29+
-keep class **$Properties
30+
-keepclassmembers class **$Properties {*;}
31+

0 commit comments

Comments
 (0)