I am trying to add Firebase to my project by checking Firebase option in Developer Services as shown below
but I can’t see this option in Android Studio 2.2.
How can I get this option?
The Cloud > Firebase checkbox has been removed in Android Studio 2.2, in favor of the new (and much more powerful) Firebase Assistant.
You can find the Firebase Assistant through Tools > Firebase, after which it will open up.
To connect your app to Firebase directly in Android Studio, proceed as follows:
1.Make sure you have downloaded the Google Repository version 26 or higher:
- Click Tools > Android > SDK Manager
- Click the SDK Tools tab.
- Select Google Repository, then click OK.
- Click Tools > Android > SDK Manager:
2.Open the Assistant window by clicking Tools > Firebase
3.Click to expand one of the listed features such as Analytics then click the Get Started tutorial to create a new Firebase project or connect to an existing one in a few clicks.
There is no need to enable cloud option after 2.2 Android version data will send to the database (Firebase) without enabling this option.
So don’t need to worry about this option go ahead.
To manually enable and attach Firebase to your project by following two simple steps :
add internet permission in your project’s manifest, like so :
add and compile the following code in your project’s
now you should be good to go ;