Android Developer Question: Download Android Developer PDF

Tell us what is a BuildType in Gradle? And what can you use it for?

Tweet Share WhatsApp

Answer:

Build types define properties that Gradle uses when building and packaging your Android app.
☛ A build type defines how a module is built, for example whether ProGuard is run.
☛ A product flavour defines what is built, such as which resources are included in the build.
☛ Gradle creates a build variant for every possible combination of your project’s product flavours and build types.

Download Android Developer PDF Read All 56 Android Developer Questions
Previous QuestionNext Question
Tell us why would you do the setContentView() in onCreate() of Activity class?Do you know the languages supported for Android development?