0
0
Android Kotlinmobile~10 mins

Emulator setup and usage 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 launch the Android emulator from the command line.

Android Kotlin
emulator -avd [1]
Drag options to blanks, or click blank then click option'
Astart
BPixel_5_API_30
Claunch
Drun
Attempts:
3 left
💡 Hint
Common Mistakes
Using commands like 'start' or 'run' which are not valid emulator options.
Not specifying the exact AVD name.
2fill in blank
medium

Complete the code to list all available Android Virtual Devices (AVDs).

Android Kotlin
emulator -list-[1]
Drag options to blanks, or click blank then click option'
Aavds
Bdevices
Cemulators
Dimages
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'devices' which is not recognized by the emulator command.
Using 'images' or 'emulators' which are invalid options.
3fill in blank
hard

Fix the error in the command to start the emulator with a cold boot.

Android Kotlin
emulator -avd Pixel_5_API_30 [1]
Drag options to blanks, or click blank then click option'
A-no-boot-anim
B-wipe-data
C-no-snapshot-load
D-cold-boot
Attempts:
3 left
💡 Hint
Common Mistakes
Using '-cold-boot' which is not a valid emulator option.
Using '-wipe-data' which erases user data instead of just cold booting.
4fill in blank
hard

Fill both blanks to correctly start the emulator with a specific scale and no audio.

Android Kotlin
emulator -avd Pixel_5_API_30 [1] [2]
Drag options to blanks, or click blank then click option'
A-scale 0.75
B-no-audio
C-no-window
D-gpu swiftshader_indirect
Attempts:
3 left
💡 Hint
Common Mistakes
Using '-no-window' which hides the emulator window.
Using GPU options which are unrelated to scale or audio.
5fill in blank
hard

Fill all three blanks to create an AVD with a specific name, device, and system image using the avdmanager command.

Android Kotlin
avdmanager create avd -n [1] -d [2] -k "system-images;android-30;google_apis;x86"
Drag options to blanks, or click blank then click option'
AMyEmulator
Bpixel
Cpixel_xl
DPixel_5
Attempts:
3 left
💡 Hint
Common Mistakes
Using device names instead of device ids.
Mixing up the order of name and device options.