0
0
Android Kotlinmobile~10 mins

Play Store submission in Android Kotlin - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to define the app version in the build.gradle file.

Android Kotlin
android {
    defaultConfig {
        versionCode [1]
    }
}
Drag options to blanks, or click blank then click option'
A1
B"1"
CversionCode
DversionName
Attempts:
3 left
💡 Hint
Common Mistakes
Putting quotes around the versionCode number
Using versionName instead of versionCode
2fill in blank
medium

Complete the code to sign the APK with the release key in build.gradle.

Android Kotlin
signingConfigs {
    release {
        storeFile file("[1]")
    }
}
Drag options to blanks, or click blank then click option'
Adebug.keystore
Brelease-key.jks
Capp.keystore
Dmy-release-key.keystore
Attempts:
3 left
💡 Hint
Common Mistakes
Using debug.keystore instead of release keystore
Wrong file extension
3fill in blank
hard

Fix the error in the AndroidManifest.xml to set the app's package name.

Android Kotlin
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="[1]">
</manifest>
Drag options to blanks, or click blank then click option'
Acom.example.myapp
BMyApp
Ccom.example
Dexample.myapp
Attempts:
3 left
💡 Hint
Common Mistakes
Using short names like 'MyApp'
Missing domain parts in package name
4fill in blank
hard

Fill both blanks to define the release build type with signing config.

Android Kotlin
buildTypes {
    release {
        minifyEnabled [1]
        signingConfig [2]
    }
}
Drag options to blanks, or click blank then click option'
Afalse
BsigningConfigs.release
Ctrue
DsigningConfigs.debug
Attempts:
3 left
💡 Hint
Common Mistakes
Using signingConfigs.debug for release
Setting minifyEnabled to a string
5fill in blank
hard

Fill all three blanks to create a Play Store listing with title, short description, and full description.

Android Kotlin
playStoreListing {
    title = "[1]"
    shortDescription = "[2]"
    fullDescription = "[3]"
}
Drag options to blanks, or click blank then click option'
AMy Cool App
BAn app that does cool things
CThis app helps you do many cool things easily and quickly.
DCool App
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing title and descriptions
Using too short or unclear descriptions