我想在Android项目中为Android FirebaseUI - Auth编写代码,但是从最近两天开始,我在当前代码中遇到错误,不知道如何修复它.努力但却没有以正确的方式发生.
这是我的build.gradle(项目: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
}
Run Code Online (Sandbox Code Playgroud)
这是我的build.gradle(模块:app)
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
repositories {
mavenLocal()
flatDir {
dirs …Run Code Online (Sandbox Code Playgroud) java android android-support-library google-play-services android-gradle-plugin