The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


Gradle Build Variants

You may think that the directory structure and files involved in an Android Studio project is a bit complicated. In truth, what you have seen so far is actually fairly simple, when you start to consider the real world of product development. Simple apps can get by with simple structures like we have seen so far, but:

In this chapter, we will explore the concept of “build variants” in Gradle and Android Studio and how you can take advantage of them for your projects.

Prerequisites

Understanding this chapter requires that you have read the chapters the core chapters of the book.

Objectives of the Project Structure

The preview of this section was last seen in the Bermuda Triangle.

Terminology

The preview of this section is unavailable right now, but if you leave your name and number at the sound of the tone, it might get back to you (BEEEEEEEEEEEEP!).

Configuring the Stock Build Types

The preview of this section was whisked away by a shark-infested tornado.

Adding Build Types

The preview of this section was lost in the sofa cushions.

Adding Product Flavors and Getting Build Variants

The preview of this section is in an invisible, microscopic font.

Doing the Splits

The preview of this section is in the process of being translated from its native Klingon.

Gradle and Android Studio

The preview of this section is being chased by zombies.