MCQ King
Android Studio – 42 – Gradle Flavor and Build Types
1 / 26
1. What are Gradle flavors in Android development?
2 / 26
2. What is the purpose of defining flavors in Android projects?
3 / 26
3. How can you define flavors in the Gradle build file (build.gradle) of an Android project?
4 / 26
4. What is the default flavor in an Android project?
5 / 26
5. How can you create a new flavor in Android Studio?
6 / 26
6. What is the purpose of build types in Android development?
7 / 26
7. How can you define build types in the Gradle build file of an Android project?
8 / 26
8. What is the default build type in an Android project?
9 / 26
9. How can you create a new build type in Android Studio?
10 / 26
10. What is the purpose of defining product flavors in Android?
11 / 26
11. How can you specify which flavor of an app to build using Gradle?
12 / 26
12. What is the purpose of defining build types in Android projects?
13 / 26
13. How can you specify which build type to use when building an app with Gradle?
14 / 26
14. What is the primary difference between product flavors and build types in Android?
15 / 26
15. How can you use flavors to create multiple versions of an app with different logos?
16 / 26
16. What is the purpose of build type-specific resources in Android?
17 / 26
17. How can you create build type-specific resources in Android Studio?
18 / 26
18. What is the purpose of defining build type-specific code in Android?
19 / 26
19. How can you conditionally compile code based on the build type in Android Studio?
20 / 26
20. What is the Gradle buildConfigField configuration used for in Android?
21 / 26
21. How can you configure custom build configuration fields in Android Studio using Gradle?
22 / 26
22. What is the purpose of defining build type-specific ProGuard rules in Android?
23 / 26
23. How can you specify ProGuard rules for a specific build type in Android Studio?
24 / 26
24. What is the purpose of signing configurations in Android build types?
25 / 26
25. How can you configure signing for a build type in Android Studio?
26 / 26
26. What is the Android Gradle flavorDimensions configuration used for?
Your score is
Restart quiz