Skip to content

Commit c2a0dea

Browse files
committed
🔧
1 parent 3365738 commit c2a0dea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/setup-android-emulator/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ runs:
3636
run: |
3737
echo "Starting Android emulator in background..."
3838
# Note: ARM64 macOS runners don't support HVF (Hypervisor Framework) for Android emulators,
39-
# so we can't use -gpu host (direct GPU passthrough). Instead, we use angle_indirect which
39+
# so we must disable hardware acceleration with -no-accel. We use angle_indirect GPU mode which
4040
# translates OpenGL ES calls to Metal, allowing the host Mac's GPU to be used indirectly
41-
# through ANGLE. This provides GPU acceleration while working around the HVF limitation.
42-
$ANDROID_HOME/emulator/emulator -memory 4096 -avd ${{ inputs.avd_name }} -wipe-data -no-window -gpu ${{ inputs.gpu_mode }} -no-snapshot -noaudio -no-boot-anim &
41+
# through ANGLE for graphics rendering.
42+
$ANDROID_HOME/emulator/emulator -memory 4096 -avd ${{ inputs.avd_name }} -wipe-data -no-window -gpu ${{ inputs.gpu_mode }} -no-snapshot -noaudio -no-boot-anim -no-accel &
4343
shell: bash
4444

4545
- name: Wait for emulator to boot

0 commit comments

Comments
 (0)