Complete the code to set the minimum SDK version in the Android build configuration.
android {
defaultConfig {
minSdkVersion [1]
}
}compileSdkVersion instead of minSdkVersion.The minSdkVersion defines the minimum Android version your app supports. Here, 21 means Android 5.0 Lollipop.
Complete the code to set the application ID in the Android build configuration.
android {
defaultConfig {
applicationId "[1]"
}
}applicationId with versionCode.The applicationId is the unique identifier for your app on the Play Store. It looks like a reversed domain name.
Fix the error in the code to correctly set the target SDK version.
android {
defaultConfig {
targetSdkVersion [1]
}
}compileSdkVersion instead of targetSdkVersion.The targetSdkVersion must be a number without quotes. Using quotes causes a syntax error.
Fill both blanks to set the version code and version name in the Android build configuration.
android {
defaultConfig {
versionCode [1]
versionName "[2]"
}
}versionCode.versionName without quotes.versionCode is an integer that increments with each release. versionName is a string shown to users.
Fill all three blanks to configure the compile SDK version, build tools version, and enable multidex.
android {
compileSdkVersion [1]
buildToolsVersion "[2]"
defaultConfig {
multiDexEnabled [3]
}
}compileSdkVersion or multiDexEnabled.compileSdkVersion is the Android API level to compile against (number). buildToolsVersion is the version of build tools (string). multiDexEnabled is a boolean to allow multiple dex files.