Skip to content

Instantly share code, notes, and snippets.

@dharavp
Created July 30, 2018 13:39
Show Gist options
  • Save dharavp/f3350fe535f9fb192f302760e8a8a67d to your computer and use it in GitHub Desktop.
Save dharavp/f3350fe535f9fb192f302760e8a8a67d to your computer and use it in GitHub Desktop.
Fabric and Crashlytic setup for Android
Fabric and Crashlytic setup for Android:
1) Install Fabric Plugin From system preferences.
2) Log in to your account in it and select your app and follow the steps given in it.
Add Fabric key in manifest and give internet permission:
<meta-data
android:name="io.fabric.ApiKey"
android:value="abd55412a7e88e86f3c8289e87c3b175b157ed4f" /> // this value is different for your project
3) Add this to App level build.gradle
apply plugin: 'io.fabric'
4) Add this to Project level build.gradle
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
repositories {
maven { url 'https://maven.fabric.io/public' }
}
After that, build and run your app, and you will able to register you app on fabric.io
After that, Make a release build and test it for crash report.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment