Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android failing to boot emulator #4666

Open
2 tasks done
Luke-Gabel-Bentley opened this issue Dec 19, 2024 · 0 comments
Open
2 tasks done

Android failing to boot emulator #4666

Luke-Gabel-Bentley opened this issue Dec 19, 2024 · 0 comments

Comments

@Luke-Gabel-Bentley
Copy link

Luke-Gabel-Bentley commented Dec 19, 2024

What happened?

I am trying to get detox for android working in a windows CI pipeline.

I ran detox with this command:
npx detox test --configuration android.emu.pipeline --loglevel verbose --device-boot-args="-no-accel -gpu off -no-metrics -no-window"

and got this error in the output:

16:55:33.939 detox[4468] i device:SPAWN_FAIL `C:\Android_SDK\emulator\emulator.EXE -verbose -no-audio -no-boot-anim -read-only -port 16070 -no-window -no-accel @PIPELINE_DEVICE` failed with code 3221225477

What was the expected behaviour?

I expected the emulator to boot completely and run the tests

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

Unsure what situation is causing this to happen. I created a new emulator with this sdk package: system-images;android-34;default;x86_64, built the app, and pointed the detox config at it with this new emulator

In what environment did this happen?

Detox version: latest
React Native version: "0.75.4
Has Fabric (React Native's new rendering system) enabled: yes
Node version: 20.17.0
Device model: Windows VM
Android version: API34
Test-runner (select one): jest

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste your device.log here!

More data, please!

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant