各种其他库都在[[15.0.1,15.0.1]]请求com.google.android.gms:play-services-base库,但解析为16.0.1。 - F

时间:2018-10-28 22:14:23

标签: android

那些依赖项,我将其绑定:com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true

但仍然存在相同的问题

 dependencies {
          implementation fileTree(include: '*.jar', dir: 'libs')
          // SUB-PROJECT DEPENDENCIES START
          implementation project(path: 'CordovaLib')
          implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'
          implementation 'com.google.firebase:firebase-inappmessaging-display:17.0.2'
          compile 'com.google.android.gms:play-services-ads:17.0.0'
          compile 'com.facebook.android:facebook-android-sdk:4.35.0'
          compile 'com.google.gms:google-services:4.1.0'
          compile 'com.google.android.gms:play-services-tagmanager:16.0.4'
          compile 'com.google.firebase:firebase-core:16.0.4'
          compile 'com.google.firebase:firebase-messaging:17.3.3'
          compile 'com.google.firebase:firebase-config:16.0.1'
          compile 'com.google.firebase:firebase-perf:16.1.2'
          compile 'com.google.firebase:firebase-dynamic-links:16.1.2'
          compile 'com.google.android.gms:play-services-analytics:16.0.4'
          compile 'com.google.android.gms:play-services-auth:16.0.1'
          compile 'com.google.android.gms:play-services-identity:16.0.0'
          compile 'com.loopj.android:android-async-http:1.4.9'
          compile 'com.android.support:support-v4:24.1.1+'
          compile 'com.android.support:appcompat-v7:26.1.0'
          compile 'com.android.support.constraint:constraint-layout:1.0.+'
          // SUB-PROJECT DEPENDENCIES END
        }

1 个答案:

答案 0 :(得分:0)

您应该为每个依赖项使用最新版本,可以检查Maven repository

中的依赖项。

此外,您应该使用实现而不是编译,因为它将在年底被弃用