Skip to content

Commit

Permalink
解决混淆问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hss01248 committed Jun 21, 2021
1 parent 4767255 commit a976990
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion accountcache/consumer-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ public static java.lang.String TABLENAME;
# If you do NOT use SQLCipher:
-dontwarn net.sqlcipher.database.**
# If you do NOT use RxJava:
-dontwarn rx.**
-dontwarn rx.**
-keep class net.sqlcipher.** { *; }
-keep class rx.** { *; }
-keep class com.facebook.flipper.** { *; }
-keep class com.facebook.jni.** { *; }
3 changes: 3 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ android {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug{
minifyEnabled true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down

0 comments on commit a976990

Please sign in to comment.