SecurityException: Parcel.readException coming from google analytics code

后端 未结 1 736
萌比男神i
萌比男神i 2021-02-06 22:36

Our app is getting quite a few different SecurityException reports from our crash report software. Here is a stacktrace of the crash:

java.lang.Secu         


        
1条回答
  •  -上瘾入骨i
    2021-02-06 23:01

    My guess is that you are running ProGuard on your application but haven't added the following exceptions to your proguard-rules.txt:

    -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;
    }
    

    0 讨论(0)
提交回复
热议问题