To connect your application to Firebase directly in Android Studio , proceed as follows:
1. Make sure you have downloaded the Google repository version 26 or higher:
- Click Tools> Android> SDK Manager
- Click the SDK Tools tab.
- Select Google Repository and click OK.
- Select Tools> Android> SDK Manager:
2. Open the "Helper" window by clicking "Tools"> "Firebase"
3.Click to expand one of these functions, such as Google Analytics, then click the Get Started tutorial to create a new Firebase project or connect to an existing one in a few clicks.
Java coder
source share