我已经在gradle编译'com.firebaseui:firebase-ui-auth:2.3.0'中编写了这一行,但仍然是我的geeting错误“无法解析符号'AuthUI'" [英] i have wrote this line in gradle compile 'com.firebaseui:firebase-ui-auth:2.3.0' and still i am geeting error "cannot resolve symbol 'AuthUI'"

查看:103
本文介绍了我已经在gradle编译'com.firebaseui:firebase-ui-auth:2.3.0'中编写了这一行,但仍然是我的geeting错误“无法解析符号'AuthUI'"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我点击Install Repository并同步项目链接然后没有任何反应。

When I'm clicking on Install Repository and sync project link then nothing happens.

推荐答案

你需要添加:

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

到项目级build.gradle文件如下所示:

to project level build.gradle file look like this:

allprojects {
    repositories {
        jcenter()
        maven { url "https://maven.google.com" }
    }
}




支持库现在可以通过Google的Maven
存储库获得。我们不再支持通过
SDK Manager下载库,该功能将很快删除。

The support libraries are now available through Google's Maven repository. We no longer support downloading the libraries through the SDK Manager, and that functionality will be removed soon.

更多详情< a href =https://developer.android.com/topic/libraries/support-library/setup.html#download =nofollow noreferrer>请看这里。

编辑:还要将支持库版本更新为 26.0.1 以及 compileSdkVersion到26 buildToolsVersion到26.0.1

Also update your support library versions to 26.0.1 along with compileSdkVersion to 26 and buildToolsVersion to 26.0.1

这篇关于我已经在gradle编译'com.firebaseui:firebase-ui-auth:2.3.0'中编写了这一行,但仍然是我的geeting错误“无法解析符号'AuthUI'&quot;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆