Complete the code to show how an app is prepared for deployment in Android.
val apkFile = build[1]("release")
The buildVariant "release" prepares the app for deployment by creating a signed APK.
Complete the code to sign the app before deployment.
signingConfig = [1]Config("release")
The signingConfig specifies the signing key used to secure the app before deployment.
Fix the error in the deployment command to upload the app to Google Play.
gradle [1]ReleaseThe correct Gradle task to upload the app to Google Play is publish, not 'upload'.
Fill both blanks to define the deployment process that delivers the app to users.
fun deployApp() {
val apk = build[1]("release")
uploadTo[2](apk)
}The app is built with the release variant and uploaded to the Store to deliver it to users.
Fill all three blanks to complete the deployment function that builds, signs, and uploads the app.
fun deploy() {
val apk = build[1]("release")
signApk(apk, [2])
uploadTo[3](apk)
}The app is built with the release variant, signed with the signingKey, and uploaded to the Store for users.