E. Quick-Start: Gradle Build System

When programming Android applications, you’re most likely to create many files that include numerous lines of source code. The question remains—how does all that source code you just wrote actually become an Android application? The answer—the Gradle build system. Gradle is an open-source tool used to automate the building, running, testing, and packaging of your Android application. Gradle is built directly into Android Studio and you’re also able to run Gradle from the command-line.

Gradle, by itself, is an extremely powerful tool, but when it is combined with Android Studio, you are able to manage complex Android application builds. Gradle is important to learn because when you want to create different builds ...

Get Introduction to Android™ Application Development: Android Essentials, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.