File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
.github/actions/setup-android-emulator Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments