Skip to content

Create AVD

Create a new Android emulator with a specific API level, device profile, and system image.

ParameterTypeRequiredDefaultDescription
namestringYesName for the new AVD
packagestringYesSystem image package (e.g., system-images;android-35;google_apis;arm64-v8a)
devicestringNopixel_6Hardware device profile (e.g., pixel_6, pixel_7_pro)
forcebooleanNofalseOverwrite existing AVD with the same name

Create an Android 35 emulator called TestDevice

Create a Pixel 7 Pro emulator with API 34

Create an emulator called CI_Test, overwriting if it exists