File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,11 @@ jobs:
102102
103103 - name : Android Emulator - Create
104104 run : |
105- # avdmanager --verbose create avd --force -n "${ANDROID_EMULATOR_NAME}" --device "${ANDROID_PROFILE}" --abi "${ANDROID_TARGET}/${ANDROID_EMULATOR_ARCH}" --package "system-images;android-${ANDROID_API};${ANDROID_TARGET};${ANDROID_EMULATOR_ARCH}" --sdcard 512M
106- echo "no" | avdmanager create avd -n emulator-5554 -k "system-images;android-34;default;x86_64" --device "pixel_6"
105+ which sdkmanager
106+ sdkmanager --install "platform-tools" "platforms;android-34" "system-images;android-34;default;x86_64" "emulator"
107+ echo "no" | avdmanager create avd -n testing -k "system-images;android-34;default;x86_64" --device "pixel_6"
107108 $ANDROID_HOME/emulator/emulator -list-avds
109+ nohup emulator -memory 4096 -avd testing -wipe-data -no-window -no-snapshot -noaudio -no-boot-anim 2>&1 > emulator.log &
108110
109111 # - name: Android - Find AVDs
110112 # run: find ~/ -type d -name '*.avd'
You can’t perform that action at this time.
0 commit comments