Learn how to navigate the Gradle files and install Crashlytics service into your current Android project. Also, Albert Lo will show you how to register your Android project with Fabric.io with this online tutorial.
- [Instructor] Now we are in Android Studio with the exercise files for this video open. There are two files that you need to open to follow along for this section. The first is the App Module Gradle Build file. And the other one is the file named PowerFailureApp. Fabric.io will be using these two files as part of the installation process. Now that Fabric.io plug-in is installed into Android Studio, installing the Crashlytics crash reporting system is straightforward.
There should be a blue icon in the upper right part of Android Studio, which says Fabric. Tap on the icon to show the log-in UI for the Fabric.io plug-in. You should proceed to log-in with the same credentials that were used for signing up with Fabric.io. After logging in, there should be a field with the team name that was previously created. Select Next, then once Crashlytics is loaded, select Crashlytics, then select Install.
If this is the very first time using the Fabric.io plug-in, there will be a screen asking to accept the terms and conditions. Just select Accept. In the next screen, there are detailed instructions on how to install Crashlytics. We can manually copy and paste the code snippets into the Power Failure project, or we can just tap Apply to apply all of the changes. Once all the changes have been applied, go to Android Studio to execute a Gradle Sync, if one has not been initiated already.
Finally, we will build and run the app so that it will show up in the Fabric.io dashboard. When the Device Chooser window opens, I will select an emulator device under the Available Virtual Devices section. If you are running the app in an actual device, that device will show up under the Connected Devices section. Once the app has been loaded into the device, we can go back to the Fabric.io webpage where we signed up.
If we hit Refresh, there should be a link to go to the dashboard. Select Go to the Dashboard, and verify that we have the project loaded. Now we are ready to go to the next step.
- Configuring Android Studio
- Getting started with Fabric.io
- Preparing for Fabric.io release
- Deploying to Fabric.io Beta
- Testing beta deployment
- Setting up Fabric.io Answers
- Defining and implementing the analytics model
- Defining interfaces for analytics
- Defining and implementing the analytics trackers
- Implementing the analytics client
- Setting up a Firebase console
- Testing Firebase authentication
- Implementing and verifying remote configuration