From the course: Visual Studio App Center for Developers

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Add crash reporting to your native Android app

Add crash reporting to your native Android app - Visual Studio Tutorial

From the course: Visual Studio App Center for Developers

Start my 1-month free trial

Add crash reporting to your native Android app

- [Instructor] And now we'll add VSAC analytics and crash reporting to a native Android application. Android Studio uses Gradle to pull the external dependencies. To add the dependencies to Gradle, we want to look at the build.gradle file for the app module. So we'll open up Gradle scripts and the build.gradle file that has module app next to it is the one we want so I'll open that up. And we're going to scroll down to the bottom where it has dependencies and this is where it's pulling in external dependencies. And the first thing I want to do is define a variable and we're going to call that appCenterSdkVersion and we're going to set that equal to 1.1.0 and this is going to make sure that all our dependencies that we're pulling in for app center are using the same version. So let's pull in the first one so I'll go compile and space and it's com.microsoft.appcenter and then a colon and appcenter dash analytics and then a colon again dollar sign and then in curly braces we're going to…

Contents