Detox icon indicating copy to clipboard operation
Detox copied to clipboard

app won't launch on android

Open fatlinesofcode opened this issue 1 year ago • 2 comments

What happened?

our app compiles and installs with detox build. But when we attempt to run with detox test --configuration android.emu.release

we get this error

15:55:15.482 detox[51680] i ""/Users/phil/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "ps | grep \"au\.com\.adorebeauty\.shop$\""" failed with error = ChildProcessError: Command failed: "/Users/phil/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "ps | grep \"au\.com\.[-]\.[-]$\""
 `"/Users/phil/Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell "ps | grep \"au\.com\.[-]\.[-]$\""` (exited with error code 1) (code=1), stdout and stderr:

What was the expected behaviour?

app should launch and tests should start

Was it tested on latest Detox?

  • [X] 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!

No response

In what environment did this happen?

Detox version: 20 React Native version: 71 Has Fabric (React Native's new rendering system) enabled: (yes/no) no Node version: 18 Device model: emulator Android version: 13 (no google apis) java v17 Test-runner (select one): jest

Detox logs

Device logs
[detox.log](https://github.com/wix/Detox/files/14533534/detox.log)

Device logs

Device logs

More data, please!

ddd

fatlinesofcode avatar Mar 08 '24 05:03 fatlinesofcode

Any update regarding this one?

chenop avatar Apr 02 '24 19:04 chenop

I have the same issue on react native 0.73, node 18 and Windows 11 powershell. Android 13 and Java 17

afonso-tsx avatar Apr 10 '24 11:04 afonso-tsx