File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4343 ANDROID_TARGET : ' default'
4444 # ANDROID_BUILD_TOOLS_VERSION: 36.0.0
4545 ANDROID_BUILD_TOOLS_VERSION : ' latest'
46- ANDROID_EMULATOR_NAME : ' test '
46+ ANDROID_EMULATOR_NAME : ' demo '
4747 steps :
4848 - uses : skiptools/actions/setup-skip@skip-action
4949
5959 # Install AVD files
6060 $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "system-images;android-${ANDROID_API};${ANDROID_TARGET};${ANDROID_ARCH}"
6161 $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --channel=3 emulator
62+
6263 # Create emulator
63- $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -f -n test -d "Nexus 10" --abi "${ANDROID_TARGET}/${ANDROID_ARCH}" -k "system-images;android-${ANDROID_API};${ANDROID_TARGET};${ANDROID_ARCH}" --force
64+ echo "Creating emulator: ${ANDROID_EMULATOR_NAME}"
65+ $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -f -n "${ANDROID_EMULATOR_NAME}" -d "Nexus 10" --abi "${ANDROID_TARGET}/${ANDROID_ARCH}" -k "system-images;android-${ANDROID_API};${ANDROID_TARGET};${ANDROID_ARCH}" --force
66+
67+ echo "Listing emulators"
6468
6569 $ANDROID_HOME/emulator/emulator -list-avds
6670 echo "Starting emulator"
You can’t perform that action at this time.
0 commit comments