android同步服务启动失败,Android同步失败 - 找不到com.google.android.gms:play-services-auth:15.1.0...

The full error is:

找不到com.google.android.gms:play-services-auth:15.1.0 . 在以下位置搜索:file:/ C:/Users/Alex/AppData/Local/Android/sdk/extras/m2repository/com/google/android/gms/play-services-auth/15.1.0/play-services- auth-15.1.0.pom文件:/ C:/Users/Alex/AppData/Local/Android/sdk/extras/m2repository/com/google/android/gms/play-services-auth/15.1.0/play-services -auth-15.1.0.jar文件:/ C:/Users/Alex/AppData/Local/Android/sdk/extras/google/m2repository/com/google/android/gms/play-services-auth/15.1.0/ play-services-auth-15.1.0.pom文件:/ C:/Users/Alex/AppData/Local/Android/sdk/extras/google/m2repository/com/google/android/gms/play-services-auth/15.1 .0 / play-services-auth-15.1.0.jar文件:/ C:/ Users / Alex / AppData / Local / Android / sdk / extras / android / m2repository / com / google / android / gms / play-services- auth / 15.1.0 / play-services-auth-15.1.0.pom文件:/ C:/ Users / Alex / AppData / Local / Android / sdk / extras / android / m2repository / com / google / android / gms / play -services-auth / 15.1.0 / play-services-auth-15.1.0.jar https://jcenter.bintray.com/com/google/android/gms/play-service s-auth / 15.1.0 / play-services-auth-15.1.0.pom https://jcenter.bintray.com/com/google/android/gms/play-services-auth/15.1.0/play-services -auth-15.1.0.jar https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-auth/15.1.0/play-services-auth-15.1 . 0.pom https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-auth/15.1.0/play-services-auth-15.1.0.jar https: //maven.google.com/com/google/android/gms/play-services-auth/15.1.0/play-services-auth-15.1.0.pom https://maven.google.com/com/google /android/gms/play-services-auth/15.1.0/play-services-auth-15.1.0.jar必需者:project:app

build.gradle(Module:app)

apply plugin: 'com.android.application'

android {

compileSdkVersion 25

buildToolsVersion '27.0.3'

defaultConfig {

applicationId "alex.ness.edu.xmlandfirebaseandloginto"

minSdkVersion 16

targetSdkVersion 25

versionCode 1

versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

multiDexEnabled true

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

}

}

}

dependencies {

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

androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {

exclude group: 'com.android.support', module: 'support-annotations'

})

implementation 'com.android.support:appcompat-v7:25.4.0'

implementation 'com.android.support:design:25.4.0'

implementation 'com.android.support.constraint:constraint-layout:1.1.0'

implementation 'com.android.support:support-v4:25.4.0'

implementation 'com.android.support:recyclerview-v7:25.4.0'

implementation 'org.jsoup:jsoup:1.10.3'

implementation 'com.squareup.picasso:picasso:2.5.2'

implementation 'com.android.support:cardview-v7:25.4.0'

implementation 'com.google.firebase:firebase-auth:15.1.0'

implementation 'com.google.android.gms:play-services-auth:15.1.0'

implementation 'com.google.firebase:firebase-messaging:15.1.0'

testCompile 'junit:junit:4.12'

implementation 'com.beardedhen:androidbootstrap:2.3.1'

implementation 'com.jakewharton:butterknife:8.8.1'

annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

implementation 'com.firebaseui:firebase-ui-auth:2.3.0'

}

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

build.gradle(Project)

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

repositories {

jcenter()

maven { url 'https://maven.fabric.io/public' }

google()

}

dependencies {

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

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

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

}

}

allprojects {

repositories {

jcenter()

google()

maven { url "https://maven.google.com" }

}

}

task clean(type: Delete) {

delete rootProject.buildDir

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值