Grammatical and structural corrections (#20806)

This commit is contained in:
Stephen Ojo
2018-11-03 05:42:57 +01:00
committed by Huyen Nguyen
parent 9ae4b3ac08
commit e863e1bc9c

View File

@ -6,15 +6,15 @@ title: connecting-to-firebase
1. The Latest Version of Android Studio 1. The Latest Version of Android Studio
<br> <br>
The easiest way to connect to firebase is to use the firebase assistant. The easiest way to connect to Firebase is through the Firebase Assistant in Android Studio.
# 1. Connecting using Firebase Assistant # 1. Connecting using Firebase Assistant
1. Create an account in the [Firebase Console](https://console.firebase.google.com). 1. Create an account in the [Firebase Console](https://console.firebase.google.com).
Click add project to add your Android Studio project to it. Click _add project_ to add your Android Studio project to it.
2. Install Google Repository 2. Install Google Repository
You can do this by adding the dependency into your project-level build.gradle file like this: You can do this by adding the dependency into your project-level build.gradle file, as shown below:
```java ```java
allprojects{ allprojects{
@ -30,15 +30,14 @@ Alternatively, you could do that [using the GUI](https://developer.android.com/s
3. Go to Tools > Firebase and select Connect to Firebase 3. Go to Tools > Firebase and select Connect to Firebase
If you wish to connect to firebase manually, detailed instructions are available [here](https://firebase.google.com/docs/android/setup). If you wish to connect to Firebase manually, detailed instructions are available [here](https://firebase.google.com/docs/android/setup).
<br> <br>
Having connected your Android Studio project to Firebase, you can either Having connected your Android Studio project to Firebase, you can either
1. click on a product in the firebase assistant and get taken to the Google docs where you will be told how to proceed 1. click on a product in the Firebase Assistant to get to the appropriate Google docs where you will be told how to proceed.
2. go to desired product in **Project Overview** in the Console and click on **Get Started** 2. go to desired product in **Project Overview** in the Console and click on **Get Started**.
3. go to the [Firebase docs](https://www.firebase.com/docs/android/quickstart.html) to see how to setup individual products in your project 3. go to the [Firebase docs](https://www.firebase.com/docs/android/quickstart.html) to see how to setup individual products in your project.
Reading a combination of all three will enable you to setup the product, which includes adding suitable dependencies to your build.gradle file. Reading a combination of all three will enable you to setup the product, which includes adding suitable dependencies to your build.gradle file.
**If You Encounter Gradle Sync** **If You Encounter Gradle Sync errors**
Try To Change The Firebase-core Version or Firebase-database version Try To Change The Firebase-core Version or Firebase-database version