I have a problem of generating a signed APK.
and here it is the proguard-rules.pro file
-assumenosideeffects class android.util.Log {
public static int v(...);
public static int d(...);
}
# Required to preserve the Flurry SDK
#-keep class com.flurry.** { *; }
#-dontwarn com.flurry.**
#-keepattributes *Annotation*,EnclosingMethod,Signature
#-keepclasseswithmembers class * {
# public (android.content.Context, android.util.AttributeSet, int);
# }
# Google Play Services library
-keep class * extends java.util.ListResourceBundle {
protected Object[ ][ ] getContents();
}
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}
-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
@com.google.android.gms.common.annotation.KeepName *;
}
-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;
}
and the error as described in the following line
# Google Play Services library
-keep class * extends java.util.ListResourceBundle {
protected Object[ ][ ] getContents();
}
and the used lib version are
- minSdkVersion = 19
- targetSdkVersion = 27
- compileSdkVersion = 27
- buildToolsVersion = '27.0.0'
- supportLibraryVersion = '27.0.1'
- gmsVersion = '11.6.0'
- firebaseVersion = '11.6.0'
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:3.1.0'
I need a help, what is the problem, and how to solve it?
Note: I have no problem of running the app on my device through the USB, but I cannot generate the APK for release.