File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4040 ANDROID_API : ${{ matrix.ANDROID_API }}
4141 ANDROID_ARCH : ${{ matrix.ANDROID_ARCH }}
4242 ANDROID_GPU : ${{ matrix.ANDROID_GPU }}
43+ ANDROID_TARGET : ' default'
4344 # ANDROID_BUILD_TOOLS_VERSION: 36.0.0
4445 ANDROID_BUILD_TOOLS_VERSION : ' latest'
4546 steps :
@@ -53,10 +54,11 @@ jobs:
5354 yes Y | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
5455
5556 # Install AVD files
56- echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "system-images;android-${ANDROID_API};default;${ANDROID_ARCH}"
57+ yes Y | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "system-images;android-${ANDROID_API};${ANDROID_TARGET};${ANDROID_ARCH}"
58+ yes Y | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --channel=3 emulator
5759 # Create emulator
58- echo "y " | $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -f -n test -d "Nexus 10" -k "system-images;android-${ANDROID_API};default ;${ANDROID_ARCH}" --force
59- echo "y" | $ANDROID_HOME/emulator/emulator -list-avds
60+ echo "no " | $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
61+ yes Y | $ANDROID_HOME/emulator/emulator -list-avds
6062 echo "Starting emulator"
6163
6264 # Start emulator in background
You can’t perform that action at this time.
0 commit comments