Firebase assistant not showing in Studio 2.2.3
Asked Answered
R

5

23

I am trying to connect Firebase with my app and I was following all the steps in this link.

I have the latest Google Repo and android studio 2.2.3, but when I open the Tools drop down menu there is no Firebase option.

enter image description here

Any idea of what I am missing?

enter image description here

Reachmedown answered 3/1, 2017 at 14:48 Comment(2)
follow this insteadIniquity
@SimonSchnell . Thanks but I already started adding FireBase manually to my app but I would like to know why I am not getting the assistant optionReachmedown
S
58

In the Android Studio, go to File -> Settings, click on Plugins and then enable all Firebase plugins.

This image below should help.

enter image description here

Sanalda answered 4/1, 2017 at 14:53 Comment(2)
Why is this not in the Google documentation? (firebase.google.com/docs/android/setup). Thanks anyway :-)Cellarage
I found this under Android Studio >> Preferences in Studio 2.3.3Brainbrainard
P
8

First you need to sign in to your Google account by clicking on the icon in the upper right corner of android studio. Then the Firebase item will appear in the Tools menu. enter image description here

Pedant answered 18/1, 2020 at 7:29 Comment(1)
This is now the correct answer in Android 2021.1.1 - but still not mentioned in the firebase docs! firebase.google.com/docs/android/setup#manually_add_firebaseIous
M
1

In android studio 3.6.1 I used the long way but it worked as shown below:

  1. Log in to Android Studio 3.6.1 from the to right user icon
  2. Log in to firebase console with the same account address
  3. On the firebase console start a new project
  4. In the center of the project overview page, click the Android icon (plat_android) to launch the setup workflow.

    5.Enter your app's package name in the Android package name field

Enter your app's package name in the Android package name field

  1. Add the Firebase Android configuration file to your app by:
  2. Click Download google-services.json to obtain your Firebase Android config file (google-services.json).
  3. Move your config file into the module (app-level) directory of your app.

  4. To enable Firebase products in your app, add the google-services plugin to your Gradle files.

  5. In your root-level (project-level) Gradle file (build.gradle), add rules to include the Google Services Gradle plugin. Check that you have Google's Maven repository, as well. 11

    `buildscript {

    repositories { // Check that you have the following line (if not, add it): google() // Google's Maven repository }

    dependencies { // ...

    // Add the following line:
    classpath 'com.google.gms:google-services:4.3.3'  // Google Services plugin
    

    } }

    allprojects { // ...

    repositories { // Check that you have the following line (if not, add it): google() // Google's Maven repository // ... } }` 11

.In your module (app-level) Gradle file (usually app/build.gradle), apply the Google Services Gradle plugin:

 apply plugin: 'com.android.application'
// Add the following line:
apply plugin: 'com.google.gms.google-services'  // Google Services plugin

android {
  // ...
}
  1. Add Firebase SDKs to your app To your module (app-level) Gradle file (usually app/build.gradle), add the dependencies for the Firebase products that you want to use in your app.

    dependencies {
    

    // ...

    // Add the Firebase SDK for Google Analytics implementation 'com.google.firebase:firebase-analytics:17.3.0'

    // Add the dependencies for any other Firebase products you want to use in your app // For example, to also use Firebase Authentication implementation 'com.google.firebase:firebase-auth:19.3.0'

    // Getting a "Could not find" error? Make sure that you've added // Google's Maven repository to your root-level build.gradle file }

  2. Sync your app to ensure that all dependencies have the necessary versions.

  3. If you added Analytics, run your app to send verification to Firebase that you've successfully integrated Firebase. Otherwise, you can skip the verification step.
  4. Your device logs will display the Firebase verification that initialization is complete. If you ran your app on an emulator that has network access, the Firebase console notifies you that your app connection is complete.
Madelynmademoiselle answered 2/4, 2020 at 17:35 Comment(0)
T
0

In Android Studio 3 , Go To Tools - > Android - > SDK Manager - > under that plugins in which search Firebase and there are three plugins click all then your android studio restart and can see Firebase Assistant there under tools ... Enjoy

Tapetum answered 3/2, 2018 at 8:56 Comment(0)
A
-1

Android Studio 3.4.1, Go to Tools -> Firebase

enter image description here

Ambler answered 16/6, 2019 at 19:8 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.