Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FireBase stuck on "Run your app to verify installation" for android

I'm new to android development, since a long time, I'm stuck in one error that is Run your app to verify installation (Checking if the app has communicated with our servers. You may need to uninstall and reinstall your app.)

build.gradle(Module:app)     dependencies {         implementation fileTree(dir: 'libs', include: ['*.jar'])         implementation 'com.android.support:appcompat-v7:26.1.0'         implementation 'com.android.support.constraint:constraint-layout:1.1.3'         testImplementation 'junit:junit:4.12'         androidTestImplementation 'com.android.support.test:runner:1.0.2'         androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'         implementation 'com.google.firebase:firebase-core:16.0.1'     }       dependencies {             classpath 'com.android.tools.build:gradle:3.3.2'             classpath 'com.google.gms:google-services:4.0.1'             // NOTE: Do not place your application dependencies here; they belong             // in the individual module build.gradle files         } 
like image 864
Epsiba Angel Avatar asked Mar 14 '19 10:03

Epsiba Angel


People also ask

Why is my Android Studio not connecting to Firebase?

Just sign out your gmail account from Android Studio and then re-sign in again. After this, try again connecting to the firebase. It should connect!

How do I connect my Android app to Firebase?

Open the Firebase Assistant: Tools > Firebase. In the Assistant pane, choose a Firebase product to add to your app. Expand its section, then click the tutorial link (for example, Analytics > Log an Analytics event). Click Connect to Firebase to connect your Android project with Firebase.

Can Firebase be used for Android?

You can now open and use the Assistant window in Android Studio by following these steps: Click Tools > Firebase to open the Assistant window. Click to expand one of the listed features (for example, Analytics), then click the Get Started tutorial to connect to Firebase and add the necessary code to your app.


Video Answer


1 Answers

You have to do nothing for your question but run the app on the android emulator or a real android device. If you have made your app and later added the dependencies, then you need to delete the app from the device/emulator and install the app again.

By doing this, when the app runs, it passes variables from the google-services.json file to the firebase servers and checks if the same app is communicating or not.

This step is to verify the correct installation of firebase dependencies in the app. If you find it difficult, you can skip the process anyway.

like image 91
Gourav Avatar answered Nov 05 '22 14:11

Gourav