为了账号安全,请及时绑定邮箱和手机立即绑定

未能解析com.google.android.gms Play-services-auth:

未能解析com.google.android.gms Play-services-auth:

拉莫斯之舞 2019-07-11 10:11:54
未能解析com.google.android.gms Play-services-auth:11.4.0我试图在我的Android项目中为AndroidFirebase UI-Auth编写代码,但从最近两天开始,我的当前代码中出现了错误,并且不知道如何修复它。努力但什么也没发生。这是我的建筑.等级(项目:FriendlyChat)// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript {     repositories {         jcenter()         mavenLocal()     }     dependencies {         classpath 'com.android.tools.build:gradle:2.2.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.0.0'     }}allprojects {     repositories {         jcenter()         mavenLocal()     }}task clean(type: Delete) {     delete rootProject.buildDir}这是我的build.gradle(模块:app)apply plugin: 'com.android.application'apply plugin: 'com.google.gms.google-services'repositories {     mavenLocal()     flatDir {         dirs 'libs'     }}android {     compileSdkVersion 24     buildToolsVersion "24.0.1"     defaultConfig {         applicationId "com.google.firebase.udacity.friendlychat"         minSdkVersion 16         targetSdkVersion 24         versionCode 1         versionName "1.0"     }     buildTypes {         release {             minifyEnabled false             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'         }     }     packagingOptions {         exclude 'META-INF/LICENSE'         exclude 'META-INF/LICENSE-FIREBASE.txt'         exclude 'META-INF/NOTICE'     }}dependencies {     compile fileTree(dir: 'libs', include: ['*.jar'])     // Displaying images     compile 'com.android.support:design:24.2.1'     compile 'com.android.support:appcompat-v7:24.2.1'     compile 'com.github.bumptech.glide:glide:3.6.1'     compile 'com.google.firebase:firebase-database:11.0.4'     compile 'com.google.firebase:firebase-auth:11.0.4'    compile 'com.google.android.gms:play-services-auth:11.4.0'     testCompile 'junit:junit:4.12'}
查看完整描述

3 回答

  • 3 回答
  • 0 关注
  • 1736 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信