How to Connect your Android studio project to Firebase

Nwokocha Wisdom Maduabuchi
3 min readNov 23, 2020

--

In this tutorial, you will learn how to connect your Android project in Android studio to firebase so you can be able to integrate Firebase features like Authentication, Cloud Firestore, App distributions, Test Lab, Cloud storage, etc.

Getting started

Follow the guide below to set up your project in Android studio

Goto Tools -> click you will see the dropdown in the image below then click on “Firebase”.

It will open the image below, you will see all the Firebase packages available in Android Studio and select the one you want to work with.

It will open the below image, you have two important steps to follow
1: Connect your app to Firebase
2: Add Cloud Firestore to your app
NOTE: login your Gmail details in your Android Studio first before proceeding to the next step.
Click “Connect to Firebase”, it will open the firebase console in your browser

The below image is giving you two options
1: Create a new project
2: Continue with an existing project
In this part, you will select “Add project”

The image below will give you an option to change the name of the project, then click “Continue”

For the image below just click “Continue”

Tick the checkboxes in this part

Just click “Continue”

It’s creating your project

your project is fully set up and ready for use, click “Continue”

Firebase is setting up your project

Now your project has been created in Firebase, click “Continue”

Now your Android Studio project is connected to Firebase

at this stage the project doesn’t support any Firebase package yet, you will need to configure it later.

Thanks for reading my article

Let’s connect on
Twitter: https://twitter.com/Joklinztech
LinkedIn: https://www.linkedin.com/in/wisdom-nwokocha-76212a77/

--

--

Nwokocha Wisdom Maduabuchi
Nwokocha Wisdom Maduabuchi

Written by Nwokocha Wisdom Maduabuchi

A software engineer with considerable experience in mobile development, native Android, and IOS development(Xcode), flutter dev, technical writing and community

No responses yet