Fix crash on release builds

This commit is contained in:
Mygod
2020-01-21 05:50:07 +08:00
parent adfed1a4d4
commit dc69ed2023

View File

@@ -14,12 +14,12 @@
# Uncomment this to preserve the line number information for # Uncomment this to preserve the line number information for
# debugging stack traces. # debugging stack traces.
-keepattributes *Annotation*
-keepattributes SourceFile,LineNumberTable -keepattributes SourceFile,LineNumberTable
-dontobfuscate -dontobfuscate
# If you keep the line number information, uncomment this to # If you keep the line number information, uncomment this to
# hide the original source file name. # hide the original source file name.
#-renamesourcefileattribute SourceFile #-renamesourcefileattribute SourceFile
-dontwarn org.mockito.** -keepclasseswithmembers class * extends androidx.lifecycle.ViewModel {
-dontwarn org.objenesis.instantiator.** <init>();
}