-
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
[Android Setup] - Detox can't seem to connect to the test app(s) #4195
Comments
The same for me...can't figure out where the problem is |
yeah - seems to be a common issue but would love some support for this. Its definitely impeding rollout of testing if we can't get it up and running on android |
any news @mackwill ? |
I have the same problem. Does anyone have any solution? This happens on the Github runner, but I can run detox locally on my M1 machine. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this repository, read this discussion. |
Same issue, any news? |
ws-client:APP_UNREACHABLE Detox can't seem to connect to the test app(s)! HINT: The test app might have crashed prematurely, or has had trouble setting up the connection. |
Description
So im setting up detox in our project - and everything seems to be running smoothly on iOS
On android however, i cannot seem to get the tests to run at all. I can build just fine, but when i try to run a test, this is the error that i get. (Currently on APK level 33)
There have been a number of issues opened about this and i have tried all of the available solutions but have had no success in getting things to run.
I know that there isn't officially support for RN 0.72 yet, but i want to know if anyone has had any success on this version of RN, or if it really is just the version that im on that's causing the issue.
note my current folder structure is
Here's the android section of the
.detoxrc
filein my
build.gradle
fileAnd at the beginning of my tests, i have the call for
deviceLaunch
in my beforeAll - i know that the tests themselves are fine because i run them on iOS no problem.I can't really pinpoint where the issue is now, but as i said i've tried other solutions like adding
testBinaryPath
and tweaking myandroid/app/build.gradle
file to the following like some other suggestions hereAny help here would be appreciated.
Your environment
Detox version: 20.12.1
React Native version: 0.72.4
Node version:
Device model:
OS:
Test-runner (select one): jest
The text was updated successfully, but these errors were encountered: