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. But there are some other changes as well, including new recommendations for declaring dependencies in your Gradle scripts.
- [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 that line of code.…This will make your project more maintainable…
Skill Level Intermediate
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
Building Android Apps with Cloud Serviceswith Albert Lo2h 37m Intermediate
Android App Development: Data Persistence Librarieswith Annyce Davis4h 52m Intermediate
New This Week:
1. Android Development Tips Weekly
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.