gpt4 book ai didi

android - 无法使用 Firebase 广告 : No static method zzc(Landroid/os/Bundle;

转载 作者:行者123 更新时间:2023-12-05 00:46:50 24 4
gpt4 key购买 nike

我正在尝试将 Firebase 广告库添加到我的项目(已经上线)中,构建工作但当我尝试运行它时崩溃并出现以下错误:

11-16 10:33:13.535 540-540/com.dap E/AndroidRuntime: FATAL EXCEPTION: main Process: com.dap, PID: 540 java.lang.NoSuchMethodError: No static method zzc(Landroid/os/Bundle;)Lcom/google/android/gms/measurement/internal/zzak; in class Lcom/google/android/gms/measurement/internal/zzak; or its super classes (declaration of 'com.google.android.gms.measurement.internal.zzak' appears in /data/app/com.dap-AZ0LDvxgjJKn7K-a-EQ0QQ==/split_lib_dependencies_apk.apk) at com.google.firebase.analytics.connector.AnalyticsConnectorImpl.getInstance(Unknown Source:20) at com.google.firebase.analytics.connector.internal.zzb.create(Unknown Source:6) at com.google.firebase.components.Lazy.lambda$new$0(com.google.firebase:firebase-common@@16.0.4:43) at com.google.firebase.components.Lazy$$Lambda$1.get(Unknown Source:4) at com.google.firebase.components.Lazy.get(com.google.firebase:firebase-common@@16.0.4:54) at com.google.firebase.components.AbstractComponentContainer.get(com.google.firebase:firebase-common@@16.0.4:26) at com.google.firebase.components.ComponentRuntime.get(com.google.firebase:firebase-common@@16.0.4:34) at com.google.firebase.components.ComponentRuntime.initializeEagerComponents(com.google.firebase:firebase-common@@16.0.4:82) at com.google.firebase.FirebaseApp.initializeAllApis(com.google.firebase:firebase-common@@16.0.4:761) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@16.0.4:359) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@16.0.4:324) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@16.0.4:310) at com.google.firebase.provider.FirebaseInitProvider.onCreate(com.google.firebase:firebase-common@@16.0.4:53) at android.content.ContentProvider.attachInfo(ContentProvider.java:1919) at android.content.ContentProvider.attachInfo(ContentProvider.java:1894) at com.google.firebase.provider.FirebaseInitProvider.attachInfo(com.google.firebase:firebase-common@@16.0.4:47) at android.app.ActivityThread.installProvider(ActivityThread.java:7107) at android.app.ActivityThread.installContentProviders(ActivityThread.java:6594) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6498) at android.app.ActivityThread.-wrap2(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963) at android.os.Handler.dispatchMessage(Handler.java:108) at android.os.Looper.loop(Looper.java:166) at android.app.ActivityThread.main(ActivityThread.java:7425) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)



我所有的 Firebase/Google 库都是最新的 firebase latest version :
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {

implementation fileTree(include: ['*.jar'], dir: 'libs')

// Facebook libraries
implementation 'com.facebook.android:facebook-android-sdk:4.32.0'

// Firebase/Google libraries
implementation('com.crashlytics.sdk.android:crashlytics:2.9.6@aar') {
transitive = true;
}

implementation 'com.firebase:geofire-android:2.1.0'

implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'com.google.firebase:firebase-storage:16.0.4'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'com.google.firebase:firebase-database:16.0.4'
implementation 'com.firebaseui:firebase-ui-storage:2.0.1'
implementation 'com.google.firebase:firebase-dynamic-links:16.1.3'
implementation 'com.google.firebase:firebase-analytics:16.0.5'
implementation 'com.google.firebase:firebase-config:16.1.0'
implementation 'com.google.firebase:firebase-invites:16.0.5'
implementation 'com.google.firebase:firebase-functions:16.1.2'
implementation 'com.google.firebase:firebase-ads:17.1.1'

implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.android.billingclient:billing:1.1'

// Support libraries (don't use the global support library)
implementation 'com.android.support.constraint:constraint-layout:2.0.0-alpha2'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.android.support:percent:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:support-fragment:27.1.1'
implementation 'com.android.support:support-vector-drawable:27.1.1'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:animated-vector-drawable:27.1.1'

// Other libraries
implementation 'com.baoyz.swipemenulistview:library:1.3.0'
implementation 'me.himanshusoni.chatmessageview:chat-message-view:1.0.3'
implementation 'com.github.bumptech.glide:glide:3.8.0'
implementation 'com.github.warkiz.widget:indicatorseekbar:1.1.2'
implementation 'com.github.guilhe:seekbar-ranged-view:1.0.1'
implementation 'com.crystal:crystalrangeseekbar:1.1.3'

testImplementation 'junit:junit:4.12'

}
apply plugin: 'com.google.gms.google-services'

只要我的build.gradle:
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.google.gms:google-services:4.2.0'

dependencies {
//classpath 'io.fabric.tools:gradle:1.25.0'
classpath 'io.fabric.tools:gradle:1.25.1'
}


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

我试图降级一些这样的库 post也建议。没有成功。
我试图降级 gms:play-services-location,但没有成功。
我没有从 Firebase 添加广告库,而是尝试了来自 Google 的广告库,但出现此错误: "Error: Program type already present: com.google.android.gms.internal.measurement.zzdz"
我还尝试清理和重建项目,卸载手机上的应用程序,使缓存无效并重新启动。但我不断收到同样的错误。

我会继续挖掘,但现在我找不到让这些 Firebase 库一起工作的方法。

最后,如果它可以帮助任何人,这里是我的 gradlew app:dependencies:
+--- com.facebook.android:facebook-android-sdk:4.32.0
| +--- com.facebook.android:facebook-core:4.32.0
| | +--- com.parse.bolts:bolts-android:1.4.0
| | | +--- com.parse.bolts:bolts-tasks:1.4.0
| | | \--- com.parse.bolts:bolts-applinks:1.4.0
| | | \--- com.parse.bolts:bolts-tasks:1.4.0
| | +--- com.android.support:support-annotations:27.0.2 -> 27.1.1
| | \--- com.android.support:support-core-utils:27.0.2 -> 27.1.1
| | +--- com.android.support:support-annotations:27.1.1
| | \--- com.android.support:support-compat:27.1.1
| | +--- com.android.support:support-annotations:27.1.1
| | \--- android.arch.lifecycle:runtime:1.1.0
| | +--- android.arch.lifecycle:common:1.1.0
| | \--- android.arch.core:common:1.1.0
| +--- com.facebook.android:facebook-common:4.32.0
| | +--- com.facebook.android:facebook-core:4.32.0 (*)
| | +--- com.android.support:support-v4:27.0.2 -> 27.1.1
| | | +--- com.android.support:support-compat:27.1.1 (*)
| | | +--- com.android.support:support-media-compat:27.1.1
| | | | +--- com.android.support:support-annotations:27.1.1
| | | | \--- com.android.support:support-compat:27.1.1 (*)
| | | +--- com.android.support:support-core-utils:27.1.1 (*)
| | | +--- com.android.support:support-core-ui:27.1.1
| | | | +--- com.android.support:support-annotations:27.1.1
| | | | +--- com.android.support:support-compat:27.1.1 (*)
| | | | \--- com.android.support:support-core-utils:27.1.1 (*)
| | | \--- com.android.support:support-fragment:27.1.1
| | | +--- com.android.support:support-compat:27.1.1 (*)
| | | +--- com.android.support:support-core-ui:27.1.1 (*)
| | | +--- com.android.support:support-core-utils:27.1.1 (*)
| | | +--- com.android.support:support-annotations:27.1.1
| | | +--- android.arch.lifecycle:livedata-core:1.1.0
| | | | +--- android.arch.lifecycle:common:1.1.0
| | | | +--- android.arch.core:common:1.1.0
| | | | \--- android.arch.core:runtime:1.1.0
| | | | \--- android.arch.core:common:1.1.0
| | | \--- android.arch.lifecycle:viewmodel:1.1.0
| | +--- com.android.support:appcompat-v7:27.0.2 -> 27.1.1
| | | +--- com.android.support:support-annotations:27.1.1
| | | +--- com.android.support:support-core-utils:27.1.1 (*)
| | | +--- com.android.support:support-fragment:27.1.1 (*)
| | | +--- com.android.support:support-vector-drawable:27.1.1
| | | | +--- com.android.support:support-annotations:27.1.1
| | | | \--- com.android.support:support-compat:27.1.1 (*)
| | | \--- com.android.support:animated-vector-drawable:27.1.1
| | | +--- com.android.support:support-vector-drawable:27.1.1 (*)
| | | \--- com.android.support:support-core-ui:27.1.1 (*)
| | +--- com.android.support:cardview-v7:27.0.2
| | | \--- com.android.support:support-annotations:27.0.2 -> 27.1.1
| | +--- com.android.support:customtabs:27.0.2
| | | +--- com.android.support:support-compat:27.0.2 -> 27.1.1 (*)
| | | \--- com.android.support:support-annotations:27.0.2 -> 27.1.1
| | \--- com.google.zxing:core:3.3.0
| +--- com.facebook.android:facebook-login:4.32.0
| | +--- com.facebook.android:facebook-core:4.32.0 (*)
| | +--- com.facebook.android:facebook-common:4.32.0 (*)
| | \--- com.android.support:appcompat-v7:27.0.2 -> 27.1.1 (*)
| +--- com.facebook.android:facebook-share:4.32.0
| | +--- com.facebook.android:facebook-core:4.32.0 (*)
| | \--- com.facebook.android:facebook-common:4.32.0 (*)
| +--- com.facebook.android:facebook-places:4.32.0
| | \--- com.facebook.android:facebook-core:4.32.0 (*)
| +--- com.facebook.android:facebook-applinks:4.32.0
| | +--- com.facebook.android:facebook-core:4.32.0 (*)
| | \--- com.parse.bolts:bolts-android:1.4.0 (*)
| \--- com.facebook.android:facebook-messenger:4.32.0
| +--- com.facebook.android:facebook-core:4.32.0 (*)
| \--- com.parse.bolts:bolts-android:1.4.0 (*)
+--- com.crashlytics.sdk.android:crashlytics:2.9.6
| +--- com.crashlytics.sdk.android:answers:1.4.4
| | \--- io.fabric.sdk.android:fabric:1.4.5
| +--- com.crashlytics.sdk.android:beta:1.2.10
| +--- io.fabric.sdk.android:fabric:1.4.5
| \--- com.crashlytics.sdk.android:crashlytics-core:2.6.5
| +--- com.crashlytics.sdk.android:answers:1.4.4 (*)
| \--- io.fabric.sdk.android:fabric:1.4.5
+--- com.firebase:geofire-android:2.1.0
+--- com.google.firebase:firebase-core:16.0.4
| +--- com.google.firebase:firebase-analytics:16.0.4 -> 16.0.5
| | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0
| | | \--- com.android.support:support-v4:26.1.0 -> 27.1.1 (*)
| | +--- com.google.android.gms:play-services-measurement-api:[16.0.3] -> 16.0.3
| | | +--- com.google.android.gms:play-services-ads-identifier:16.0.0
| | | | \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | +--- com.google.android.gms:play-services-measurement-base:[16.0.4] -> 16.0.4
| | | | \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | +--- com.google.android.gms:play-services-stats:16.0.1
| | | | \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | +--- com.google.android.gms:play-services-tasks:16.0.1
| | | | \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | +--- com.google.firebase:firebase-analytics-impl:[16.2.3] -> 16.2.3
| | | | +--- com.google.android.gms:play-services-ads-identifier:16.0.0 (*)
| | | | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | | +--- com.google.android.gms:play-services-measurement-base:[16.0.4] -> 16.0.4 (*)
| | | | +--- com.google.android.gms:play-services-stats:16.0.1 (*)
| | | | +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| | | | +--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4
| | | | | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | | | \--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| | | | \--- com.google.firebase:firebase-iid:17.0.3 -> 17.0.4
| | | | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | | +--- com.google.android.gms:play-services-stats:16.0.1 (*)
| | | | +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| | | | +--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
| | | | \--- com.google.firebase:firebase-iid-interop:16.0.1
| | | | +--- com.google.android.gms:play-services-base:16.0.1
| | | | | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | | | \--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| | | | \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | +--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
| | | \--- com.google.firebase:firebase-iid:17.0.3 -> 17.0.4 (*)
| | +--- com.google.android.gms:play-services-measurement-base:[16.0.4] -> 16.0.4 (*)
| | +--- com.google.android.gms:play-services-stats:16.0.1 (*)
| | +--- com.google.firebase:firebase-analytics-impl:[16.2.3] -> 16.2.3 (*)
| | \--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
| \--- com.google.firebase:firebase-measurement-connector-impl:17.0.2
| +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| +--- com.google.android.gms:play-services-measurement-api:16.0.2 -> 16.0.3 (*)
| +--- com.google.android.gms:play-services-measurement-base:16.0.3 -> 16.0.4 (*)
| +--- com.google.firebase:firebase-analytics:16.0.4 -> 16.0.5 (*)
| +--- com.google.firebase:firebase-analytics-impl:16.2.2 -> 16.2.3 (*)
| +--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
| \--- com.google.firebase:firebase-measurement-connector:17.0.1
| \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
+--- com.google.firebase:firebase-messaging:17.3.4
| +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| +--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
| +--- com.google.firebase:firebase-iid:[17.0.4] -> 17.0.4 (*)
| \--- com.google.firebase:firebase-measurement-connector:17.0.1 (*)
+--- com.google.firebase:firebase-storage:16.0.4
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| \--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
+--- com.google.firebase:firebase-auth:16.0.5
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| +--- com.google.android.gms:play-services-basement:16.1.0 (*)
| +--- com.google.android.gms:play-services-flags:16.0.1
| | +--- com.google.android.gms:play-services-base:16.0.1 (*)
| | \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| +--- com.google.firebase:firebase-auth-interop:16.0.1
| | +--- com.google.android.gms:play-services-base:16.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| | \--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
| \--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
+--- com.google.firebase:firebase-database:16.0.4
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| +--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
| \--- com.google.firebase:firebase-database-collection:16.0.0
| \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
+--- com.firebaseui:firebase-ui-storage:2.0.1
| +--- com.android.support:appcompat-v7:25.3.1 -> 27.1.1 (*)
| +--- com.android.support:palette-v7:25.3.1
| | +--- com.android.support:support-compat:25.3.1 -> 27.1.1 (*)
| | \--- com.android.support:support-core-utils:25.3.1 -> 27.1.1 (*)
| +--- com.github.bumptech.glide:glide:3.7.0 -> 3.8.0
| \--- com.google.firebase:firebase-storage:11.0.1 -> 16.0.4 (*)
+--- com.google.firebase:firebase-dynamic-links:16.1.3
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| +--- com.google.android.gms:play-services-measurement-base:[16.0.4] -> 16.0.4 (*)
| +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| +--- com.google.firebase:firebase-analytics-impl:[16.2.3] -> 16.2.3 (*)
| \--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
+--- com.google.firebase:firebase-analytics:16.0.5 (*)
+--- com.google.firebase:firebase-config:16.1.0
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| +--- com.google.android.gms:play-services-phenotype:16.0.0
| | +--- com.google.android.gms:play-services-base:16.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | \--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| +--- com.google.firebase:firebase-abt:16.0.1
| | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | +--- com.google.firebase:firebase-analytics-impl:16.2.2 -> 16.2.3 (*)
| | \--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
| +--- com.google.firebase:firebase-analytics:16.0.4 -> 16.0.5 (*)
| +--- com.google.firebase:firebase-analytics-impl:16.2.2 -> 16.2.3 (*)
| +--- com.google.firebase:firebase-common:16.0.3 -> 16.0.4 (*)
| \--- com.google.firebase:firebase-iid:17.0.3 -> 17.0.4 (*)
+--- com.google.firebase:firebase-invites:16.0.5
| +--- com.google.android.gms:play-services-appinvite:16.0.5
| | +--- com.google.android.gms:play-services-base:16.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | +--- com.google.android.gms:play-services-measurement-base:[16.0.4] -> 16.0.4 (*)
| | +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| | \--- com.google.firebase:firebase-dynamic-links:[16.1.3] -> 16.1.3 (*)
| \--- com.google.firebase:firebase-analytics:16.0.5 (*)
+--- com.google.firebase:firebase-functions:16.1.2
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| +--- com.google.firebase:firebase-auth-interop:16.0.1 (*)
| +--- com.google.firebase:firebase-common:16.0.4 (*)
| +--- com.google.firebase:firebase-iid:17.0.3 -> 17.0.4 (*)
| +--- com.google.firebase:firebase-iid-interop:16.0.1 (*)
| \--- com.squareup.okhttp:okhttp:2.7.2
| \--- com.squareup.okio:okio:1.6.0
+--- com.google.firebase:firebase-ads:17.1.1
| +--- com.google.android.gms:play-services-ads:17.1.1
| | +--- com.android.support:customtabs:26.1.0 -> 27.0.2 (*)
| | +--- com.google.android.gms:play-services-ads-base:[17.1.1] -> 17.1.1
| | +--- com.google.android.gms:play-services-ads-identifier:16.0.0 (*)
| | +--- com.google.android.gms:play-services-ads-lite:[17.1.1] -> 17.1.1
| | | +--- com.google.android.gms:play-services-ads-base:[17.1.1] -> 17.1.1
| | | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | \--- com.google.android.gms:play-services-measurement-sdk-api:16.0.3
| | | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | | \--- com.google.android.gms:play-services-measurement-base:[16.0.4] -> 16.0.4 (*)
| | +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| | \--- com.google.android.gms:play-services-gass:[17.1.1] -> 17.1.1
| | +--- com.google.android.gms:play-services-ads-base:[17.1.1] -> 17.1.1
| | \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| \--- com.google.firebase:firebase-analytics:16.0.5 (*)
+--- com.google.android.gms:play-services-location:16.0.0
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| +--- com.google.android.gms:play-services-places-placereport:16.0.0
| | \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.1.0 (*)
| \--- com.google.android.gms:play-services-tasks:16.0.1 (*)
+--- com.android.billingclient:billing:1.1
| \--- com.android.support:support-annotations:25.0.0 -> 27.1.1
+--- com.android.support.constraint:constraint-layout:2.0.0-alpha2
| +--- com.android.support:appcompat-v7:27.1.1 (*)
| +--- com.android.support:recyclerview-v7:27.1.1
| | +--- com.android.support:support-annotations:27.1.1
| | +--- com.android.support:support-compat:27.1.1 (*)
| | \--- com.android.support:support-core-ui:27.1.1 (*)
| \--- com.android.support.constraint:constraint-layout-solver:2.0.0-alpha2
+--- com.android.support:multidex:1.0.3
+--- com.android.support:percent:27.1.1
| \--- com.android.support:support-compat:27.1.1 (*)
+--- com.android.support:recyclerview-v7:27.1.1 (*)
+--- com.android.support:support-fragment:27.1.1 (*)
+--- com.android.support:support-vector-drawable:27.1.1 (*)
+--- com.android.support:appcompat-v7:27.1.1 (*)
+--- com.android.support:design:27.1.1
| +--- com.android.support:support-v4:27.1.1 (*)
| +--- com.android.support:appcompat-v7:27.1.1 (*)
| +--- com.android.support:recyclerview-v7:27.1.1 (*)
| \--- com.android.support:transition:27.1.1
| +--- com.android.support:support-annotations:27.1.1
| \--- com.android.support:support-compat:27.1.1 (*)
+--- com.android.support:animated-vector-drawable:27.1.1 (*)
+--- com.baoyz.swipemenulistview:library:1.3.0
| \--- com.android.support:support-v4:22.1.1 -> 27.1.1 (*)
+--- me.himanshusoni.chatmessageview:chat-message-view:1.0.3
+--- com.github.bumptech.glide:glide:3.8.0
+--- com.github.warkiz.widget:indicatorseekbar:1.1.2
+--- com.github.guilhe:seekbar-ranged-view:1.0.1
| \--- com.android.support:appcompat-v7:26.0.1 -> 27.1.1 (*)
+--- com.crystal:crystalrangeseekbar:1.1.3
| \--- com.android.support:appcompat-v7:23.4.0 -> 27.1.1 (*)
\--- com.android.support:multidex:1.0.2 -> 1.0.3

(*) - dependencies omitted (listed previously)
(n) - Not resolved (configuration is not meant to be resolved)

对不起所有的代码块,但我认为它会更容易理解。

感谢您的时间。

最佳答案

所以我找到了解决问题的方法,但在我看来这并不是最好的方法。

我不得不降级几个 firebase 库,直到它可以在我的 graddle 上看到。

implementation 'com.google.firebase:firebase-core:16.0.3'
implementation 'com.google.firebase:firebase-messaging:17.3.2'
implementation 'com.google.firebase:firebase-storage:16.0.2'
implementation 'com.google.firebase:firebase-auth:16.0.3'
implementation 'com.google.firebase:firebase-database:16.0.2'
implementation 'com.firebaseui:firebase-ui-storage:2.0.1'
implementation 'com.google.firebase:firebase-dynamic-links:16.1.1'
implementation 'com.google.firebase:firebase-analytics:16.0.3'
implementation 'com.google.firebase:firebase-config:16.0.0'
implementation 'com.google.firebase:firebase-invites:16.0.3'
implementation 'com.google.firebase:firebase-functions:16.1.0'
implementation 'com.google.firebase:firebase-ads:15.0.1'

implementation 'com.google.android.gms:play-services-location:15.0.1'
implementation 'com.android.billingclient:billing:1.1'

显然,一些库相互依赖。现在我不会将它们更新到最新版本...
如果我能获得更多关于此的信息,我将不胜感激。

关于android - 无法使用 Firebase 广告 : No static method zzc(Landroid/os/Bundle;,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53335748/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com