Gradle Tutorial for Android: Getting Started – Part 2

In this Gradle Build Script tutorial, you’ll learn build types, product flavors, build variants, and how to add additional information such as the date to the APK file name. By Ricardo Costeira.

Leave a rating/review
Download materials
Save for later
You are currently viewing page 4 of 4 of this article. Click here to view the first page.

Where To Go From Here

Download the completed project files by clicking the Download Materials link at the top or bottom of the tutorial.

If you want to know more about creating Gradle tasks and plugins, check out the official documentation about the topics here and here.

If you’re interested in learning more about the new Variants API and about the different ways you can use it, take a look into Google’s Gradle recipes repository.

We hope you enjoyed this tutorial. If you have any questions or comments, please join the forum discussion below!