-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Detox Android Crashing when launching app. #3773
Comments
The error you've described suggests your app remains busy even though the main screen is visible, and therefore the app-launching part, which awaits idle, never resolves. |
This issue appears to be a general usage or support question. |
@Osvaldo111 am facing same issue only on android, iOS working fine @d4vidi adb logs shows any ideas what to do it has been couple of days that am stuck |
@FadiAboMsalam You have to reiterate the Android setup guide. Looks like something's slipped away. |
@d4vidi just for anyone else facing the issue I am not sure why though |
@FadiAboMsalam Actually that's not a good advice. Minification is commonly necessary in release-mode apps, and should not be removed altogether. Rather, one should do so while following our ProGuard guide. |
What happened?
The app is crashing due to an idling issue related to the method "launchApp". In this case, the app is being loaded by Metro, and the app can be seen on the ADB device, the app is being opened and the welcome screen is seen for more than 30 seconds, but then the app crashes when trying to execute the tests.


What was the expected behaviour?
The first test case should be executed without any issue
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
No response
In what environment did this happen?
Detox version: 20.1.0
React Native version: 0.63.4
Node version: 16.5.0
Device model: sdk_model_arm64 (Link)
Android version: 11
Test-runner (select one): jest
Detox logs
See complete logs here (running out of max chars here): https://pastebin.com/dnWd6wmn
Detox logs
Device logs
See the following Pastbin link for all of the logs (running out of max chars here): https://pastebin.com/4MFD2YQ9
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: