Unable to see cloud option in Android Studio 2.2 developer apps

I am trying to add Firebase to my project by specifying the Firebase parameter in the developer services, as shown below.

here

but I do not see this feature in Android Studio 2.2.

here

How can I get this option?

+7
android android-studio firebase
source share
3 answers

The Cloud> Firebase checkbox was removed in Android Studio 2.2 in favor of the new (and much more powerful) Firebase Assistant.

Firebase Assistant in Android Studio

The Firebase helper can be found using Tools> Firebase, after which it will open.

+12
source share

To connect your application 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 and click OK.
  • Select Tools> Android> SDK Manager:

2. Open the "Helper" window by clicking "Tools"> "Firebase"

3.Click to expand one of these functions, such as Google Analytics, then click the Get Started tutorial to create a new Firebase project or connect to an existing one in a few clicks.

+2
source share

To manually enable and connect Firebase to your project, follow these two simple steps:

  • add permission to use the project in your manifest, for example:

    <uses-permission android:name="android.permission.INTERNET"></uses-permission> 
  • add and compile the following code in your gradle.file project

    compile com.firebase:firebase-client-android:2.3.1

now you should be good to go;

0
source share

All Articles