Cannot resolve symbol default_web_client_id in Firebase's Android Codelab

前端 未结 19 1364
说谎
说谎 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:02

    Fixed after using this link to create my backend id to Google API.

    https://developers.google.com/identity/sign-in/android/start-integrating#get_your_backend_servers_oauth_20_client_id

    • 1- Open the Credentials page in the API Console.

    • 2- The Web application type client ID is your backend server's OAuth 2.0 client ID.

    After this, you can re-download your json file and android studio will automatically matching your string id.

提交回复
热议问题