From the course: Android Development Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Upgrade to Android Studio 3.1

Upgrade to Android Studio 3.1 - Android Tutorial

From the course: Android Development Tips

Upgrade to Android Studio 3.1

- [Instructor] Beginning with this week's tip I'm going to be working in Android Studio 3.1. As of the time of this recording Android Studio 3.1 was still in public beta but it's stable enough now to be used for production applications. As usual, when you upgrade a project to a new version of Android Studio you'll need to upgrade the Gradle plugin version to match the Studio version. I've already checked out the GitHub branch for this exercise and when I open the project I see the prompt to upgrade to Gradle plugin version 3.1.0-beta3. If you're using a more recent version of Android Studio you'll see a different version. Either way, just click the update button and that will make the required change. Next, go to your build.gradle file for the app module. There are a few different changes we're going to make here. Beginning in Android Studio 3, the Build tools version is actually set by Android Studio so you no longer have to declare it in your own Gradle file. You can just delete…

Contents