Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/209.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
com.google.android.gms.internal.firebase-perf.zza中缺少方法_Android_Firebase_Google Play Services_Proguard_Firebase Performance - Fatal编程技术网

com.google.android.gms.internal.firebase-perf.zza中缺少方法

com.google.android.gms.internal.firebase-perf.zza中缺少方法,android,firebase,google-play-services,proguard,firebase-performance,Android,Firebase,Google Play Services,Proguard,Firebase Performance,此错误仅在minifyEnabled true时出现,因此我怀疑问题与proguard或R8有关” 错误 前进规则 -keepattributes *Annotation* ######## crashlytics -keepattributes SourceFile,LineNumberTable -keep public class * extends java.lang.Exception ######## ######## saripaar -keep class com.mobs

此错误仅在
minifyEnabled true
时出现,因此我怀疑问题与proguard或R8有关”

错误

前进规则

-keepattributes *Annotation*

######## crashlytics
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception
########


######## saripaar
-keep class com.mobsandgeeks.saripaar.** {*;}
-keep @com.mobsandgeeks.saripaar.annotation.ValidateUsing class * {*;}
########

######## com.wang.avi:library
-keep class com.wang.avi.** { *; }
-keep class com.wang.avi.indicators.** { *; }
########

######## okhttp3
-dontwarn javax.annotation.**
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-dontwarn org.codehaus.mojo.animal_sniffer.*
-dontwarn okhttp3.internal.platform.ConscryptPlatform
########

######## gson
-keep class sun.misc.Unsafe { *; }
-keep class com.google.gson.stream.** { *; }
########

######## stetho  debuging only
-keep class com.facebook.stetho.** { *; }
-dontwarn com.facebook.stetho.**
########

######## debuging
-dontobfuscate
-addconfigurationdebugging-keepattributes *Annotation*

######## crashlytics
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception
########


######## saripaar
-keep class com.mobsandgeeks.saripaar.** {*;}
-keep @com.mobsandgeeks.saripaar.annotation.ValidateUsing class * {*;}
########

######## com.wang.avi:library
-keep class com.wang.avi.** { *; }
-keep class com.wang.avi.indicators.** { *; }
########

######## okhttp3
-dontwarn javax.annotation.**
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-dontwarn org.codehaus.mojo.animal_sniffer.*
-dontwarn okhttp3.internal.platform.ConscryptPlatform
########

######## gson
-keep class sun.misc.Unsafe { *; }
-keep class com.google.gson.stream.** { *; }
########

######## stetho  debuging only
-keep class com.facebook.stetho.** { *; }
-dontwarn com.facebook.stetho.**
########

######## debuging
-dontobfuscate
-addconfigurationdebugging


当我从proguard规则中删除
-addconfigurationdebugging
时,在
firebase消息中出现相同的错误

-keepattributes *Annotation*

######## crashlytics
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception
########


######## saripaar
-keep class com.mobsandgeeks.saripaar.** {*;}
-keep @com.mobsandgeeks.saripaar.annotation.ValidateUsing class * {*;}
########

######## com.wang.avi:library
-keep class com.wang.avi.** { *; }
-keep class com.wang.avi.indicators.** { *; }
########

######## okhttp3
-dontwarn javax.annotation.**
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-dontwarn org.codehaus.mojo.animal_sniffer.*
-dontwarn okhttp3.internal.platform.ConscryptPlatform
########

######## gson
-keep class sun.misc.Unsafe { *; }
-keep class com.google.gson.stream.** { *; }
########

######## stetho  debuging only
-keep class com.facebook.stetho.** { *; }
-dontwarn com.facebook.stetho.**
########

######## debuging
-dontobfuscate
-addconfigurationdebugging-keepattributes *Annotation*

######## crashlytics
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception
########


######## saripaar
-keep class com.mobsandgeeks.saripaar.** {*;}
-keep @com.mobsandgeeks.saripaar.annotation.ValidateUsing class * {*;}
########

######## com.wang.avi:library
-keep class com.wang.avi.** { *; }
-keep class com.wang.avi.indicators.** { *; }
########

######## okhttp3
-dontwarn javax.annotation.**
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-dontwarn org.codehaus.mojo.animal_sniffer.*
-dontwarn okhttp3.internal.platform.ConscryptPlatform
########

######## gson
-keep class sun.misc.Unsafe { *; }
-keep class com.google.gson.stream.** { *; }
########

######## stetho  debuging only
-keep class com.facebook.stetho.** { *; }
-dontwarn com.facebook.stetho.**
########

######## debuging
-dontobfuscate
-addconfigurationdebugging


 buildscript {

     repositories {
         google()
         jcenter()
         mavenCentral()
         maven { url 'https://maven.fabric.io/public' }
         maven { url 'https://plugins.gradle.org/m2/'}
     }
     dependencies {
         classpath 'com.android.tools.build:gradle:3.5.0'
         classpath 'com.google.gms:google-services:4.3.0'
         classpath 'io.fabric.tools:gradle:1.29.0'

         classpath 'com.google.firebase:perf-plugin:1.3.1'
         classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.12.1'

         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files
     }
 }

 allprojects {
     repositories {
         google()
         jcenter()
         maven { url "https://jitpack.io" }
         maven { url 'https://maven.google.com/' }
     }
 }

 task clean(type: Delete) {
     delete rootProject.buildDir
 }
-keepattributes *Annotation*

######## crashlytics
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception
########


######## saripaar
-keep class com.mobsandgeeks.saripaar.** {*;}
-keep @com.mobsandgeeks.saripaar.annotation.ValidateUsing class * {*;}
########

######## com.wang.avi:library
-keep class com.wang.avi.** { *; }
-keep class com.wang.avi.indicators.** { *; }
########

######## okhttp3
-dontwarn javax.annotation.**
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-dontwarn org.codehaus.mojo.animal_sniffer.*
-dontwarn okhttp3.internal.platform.ConscryptPlatform
########

######## gson
-keep class sun.misc.Unsafe { *; }
-keep class com.google.gson.stream.** { *; }
########

######## stetho  debuging only
-keep class com.facebook.stetho.** { *; }
-dontwarn com.facebook.stetho.**
########

######## debuging
-dontobfuscate
-addconfigurationdebugging-keepattributes *Annotation*

######## crashlytics
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception
########


######## saripaar
-keep class com.mobsandgeeks.saripaar.** {*;}
-keep @com.mobsandgeeks.saripaar.annotation.ValidateUsing class * {*;}
########

######## com.wang.avi:library
-keep class com.wang.avi.** { *; }
-keep class com.wang.avi.indicators.** { *; }
########

######## okhttp3
-dontwarn javax.annotation.**
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-dontwarn org.codehaus.mojo.animal_sniffer.*
-dontwarn okhttp3.internal.platform.ConscryptPlatform
########

######## gson
-keep class sun.misc.Unsafe { *; }
-keep class com.google.gson.stream.** { *; }
########

######## stetho  debuging only
-keep class com.facebook.stetho.** { *; }
-dontwarn com.facebook.stetho.**
########

######## debuging
-dontobfuscate
-addconfigurationdebugging