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
I already have google-services.json
downloaded and parsed, but still it doesn't find the string.
I noticed that my oauth_client
had a key with client_type of 1
and that's all. In the Google API console, I only had an Android key.
So, you need to go to the API console and generate a Web Server
key. Then, download your google-services.json again, and you'll have a oauth_client
with a type of 3.
Now, the plugin will generate a string called default_web_client_id.