Open In App

How to Remove Firebase Authentication in Android Studio?

Android Studio is the official IDE (Integrated Development Environment) for Android app development and it is based on JetBrains’ IntelliJ IDEA software. Android Studio provides many excellent features that enhance productivity when building Android apps, such as:

Here, we are going to Remove Firebase Authentication in Android Studio. We are going to remove the firebase project connected to our app. This feature can be implemented when want to change the firebase project connected to our app. We can simply remove the connect project and then we can add another project with our app.



Step By Step Implementation

Step 1: Go to the top and Click on Project



Step 2: Here Go to the google-services.json file

Step 3: Here, Right Click on it and then Select Show in Explorer and then close Android Studio of our current app. Then delete this file from your folder

Step 4: Now, Move to build.gradle (project) and remove this line

classpath 'com.google.gms:google-services:4.2.0'

Remove this line also from the build.gradle (app)

implementation 'com.google.firebase:firebase-database:19.0.0'
implementation 'com.google.firebase:firebase-storage:19.1.1'
implementation 'com.google.firebase:firebase-auth:19.0.0'

Remove this line also from the build.gradle (app)

apply plugin: 'com.google.gms.google-services'

Now we have successfully removed the firebase project from our app. Now we can either add another Firebase project or leave.

Article Tags :