Gradle同步失败:库com.google.android.gms:播放服务库

时间:2018-10-14 08:18:37

标签: android gradle build.gradle

我不知道:

Gradle sync failed: The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 16.0.1

Build.gradle

dependencies {
implementation 'com.google.firebase:firebase-ads:17.0.0' // Firebase dependency (Always check for the latest version)
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-inappmessaging-display:17.0.2'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.android.support:exifinterface:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'me.relex:circleindicator:1.2.2@aar'
implementation 'com.github.ornolfr:rating-view:0.1.2@aar'
implementation 'cn.gavinliu.android.lib:ShapedImageView:0.8.4'
implementation 'com.loopj.android:android-async-http:1.4.9'
implementation 'com.google.android.gms:play-services-ads:15.0.1'
implementation 'com.google.android.gms:play-services-gcm:15.0.1'
implementation 'com.google.android.gms:play-services-location:15.0.1'
implementation 'com.onesignal:OneSignal:3.9.1@aar'
implementation 'com.google.android.gms:play-services-cast-framework:15.0.1'
implementation 'com.android.support:mediarouter-v7:27.1.1'
implementation 'com.mobsandgeeks:android-saripaar:2.0.2'
implementation 'com.github.ixiDev:GDPRChecker:v0.2'
implementation 'com.google.android.ads.consent:consent-library:1.0.6'
implementation 'com.github.halilozercan:BetterVideoPlayer:1.1.0'
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
implementation 'com.android.support:multidex:1.0.3'
implementation files('libs/YouTubeAndroidPlayerApi.jar')
implementation project(':vitamio')
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

 }

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

0 个答案:

没有答案
相关问题