How to Add or Integrate Your Android Project to the Firebase ?
Hello Guys. In this blog, I am going to show how to add or integrate your android project to the firebase. So, Let's get started.
If you want to have a look at how our application will look and work, then check out my youtube video. The link is given below.
Watch my YouTube Video for more clarity about how to add an android project to the Firebase.
Step 1:-
Create a new project in Android Studio and select an empty activity and Click "Next".
Give the name of the project as per your Requirement. I am giving "Demo_Project". Click "Finish".
1. The Firebase Assistant window is open. Expand “Authentication”
option and click on “Email and Password Authentication”.
1Now again go to your android studio project, click on “Add Firebase Authentication to
your app” and click on “Accept Changes”.
In the build.gradle file of the app:-
1. apply plugin: 'com.google.gms.google-services'
2. dependencies {
implementation 'com.google.firebase:firebase-auth:19.4.0'
}
In build.gradle file of project,dependencies {
classpath "com.android.tools.build:gradle:4.0.1"
classpath 'com.google.gms:google-services:4.3.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}

Step by step explanation makes it easy to understand... Thanks Vaibhav
ReplyDeleteThanks Mritunjay
Delete