flavorName { applicationId = "com.example.quiz" }
Example: how to add prefix to application id in android
android {
...
buildTypes {
debug {
applicationIdSuffix ".debug"
}
}
}
android {
...
buildTypes {
debug {
applicationIdSuffix ".debug"
}
}
}