android 15版本,找不到与com.google.android.gms匹配的任何版本:play-services-base:[15.0.1,16.0.0)...

我正在为我的

Android应用程序使用firebase,当我尝试运行应用程序时突然出现错误.星期六,它工作得很好.我不知道这个错误是怎么发生的以及如何解决这个问题.请帮我.

我的build.gradle中的依赖项

dependencies {

compile('com.crashlytics.sdk.android:crashlytics:2.5.2@aar') {

transitive = true;

}

compile 'com.android.volley:volley:1.0.0'

compile 'com.android.support:appcompat-v7:23.4.0'

compile 'com.android.support:cardview-v7:23.4.0'

compile 'com.facebook.android:facebook-android-sdk:4.1.0'

compile 'com.google.code.gson:gson:2.8.4'

compile 'com.android.support:multidex:1.0.3'

compile 'com.microsoft.azure:azure-mobile-android:3.1.0'

compile 'com.mixpanel.android:mixpanel-android:4.8.0'

compile 'com.firebase:firebase-client-android:2.4.0'

compile 'com.google.firebase:firebase-core:16.0.0'

compile 'com.google.firebase:firebase-auth:16.0.1'

compile 'com.android.support:support-v4:23.4.0'

compile 'com.android.support:design:23.4.0'

compile 'com.j256.ormlite:ormlite-android:4.48'

compile 'com.j256.ormlite:ormlite-core:4.48'

compile 'com.android.support:recyclerview-v7:23.4.0'

compile 'com.github.tibolte:elasticdownload:1.0.+'

compile 'me.dm7.barcodescanner:zxing:1.8.4'

compile 'com.google.android.gms:play-services-vision:15.0.2'

compile 'com.android.support.constraint:constraint-layout:1.1.1'

compile 'com.github.amlcurran.showcaseview:library:5.4.3'

compile 'com.wang.avi:library:2.1.3'

testCompile 'junit:junit:4.12'

androidTestCompile 'com.jayway.android.robotium:robotium-solo:5.6.0'

androidTestCompile 'com.android.support.test:rules:1.0.2'

}

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

在我的项目级build.gradle中:

dependencies {

classpath 'com.android.tools.build:gradle:2.2.2'

classpath 'com.google.gms:google-services:4.0.0'

}

我得到的错误:

Could not find any version that matches com.google.android.gms:play-services-base:[15.0.1,16.0.0).

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值