Cannot resolve symbol default_web_client_id in Firebase's Android Codelab

前端 未结 19 1336
说谎
说谎 2021-02-01 05:18

I am trying to learn Firebase, so I went through the Android Codelab. The project they gave me however, had an error:

Cannot resolve symbol default_web_cl

相关标签:
19条回答
  • 2021-02-01 06:25

    Update your project level build.gradle file with the following code:

    buildscript {
    repositories {
        google()
        jcenter()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.3.2'
        classpath 'com.google.gms:google-services:4.2.0'
    }}
    allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://maven.google.com"}  
    }}
    task clean(type: Delete) {
    delete rootProject.buildDir }
    

    More Details:answerdone.com

    0 讨论(0)
提交回复
热议问题