tezvyn:

Explain the difference between Gradle build types and product flavors.

Source: developer.android.comadvanced

WHAT IT TESTS: If you know build types are how an app is built—debug versus release—while flavors are what is shipped, like free versus paid. Variants are the Cartesian product. RED FLAG: Treating them as interchangeable or using flavors for debug and release.

WHAT IT TESTS: If you understand orthogonal dimensions of Android builds. A GOOD ANSWER: First, defines build types as how the app is packaged—debug versus release, signing, shrinking. Second, defines product flavors as what the app is—distribution slices such as free versus paid or staging versus production. Third, explains that build variants are Cartesian product of each type and flavor, producing debugFree and releasePaid.

Read the original → developer.android.com

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Explain the difference between Gradle build types and product flavors. · Tezvyn