-
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
cannot find symbol "Detox" on Android RN 0.70 #3973
Comments
However Symbols
I am not familiar with the java ecosystem, I don't know if that helps. |
I have seen #1367 which looks very similar however my test is properly placed at |
My bad this was caused by wrong placement of the maven repository source. I had to put it in "allprojects" section as stated in the docs, not "buildscript" section. Change :
To :
|
New react native projects don't have the
|
@carlosalmonte04 I totally agree the docs should be more clear. Struggled with this for longer than I care to admit! Gonna submit PR for the docs edit: I believe the label can be changed to something other than bug/triage or closed, as it's user error. Though very easy to make if you're speeding through the docs like I was. |
To clarify setup, as currently it's very easy for your eyes to just see the google() portion and put it in the wrong place. Spent 2 days struggling with this, and others have too. wix#3973
To clarify setup, as currently it's very easy for your eyes to just see the google() portion and put it in the wrong place. Spent 2 days struggling with this, and others have too. #3973
thanks I also missed this step. |
To clarify setup, as currently it's very easy for your eyes to just see the google() portion and put it in the wrong place. Spent 2 days struggling with this, and others have too. wix#3973
Thanks for this! the closing curly brace was collapsed on the docs that's why i missed it |
What happened?
What was the expected behaviour?
The test APK builds successfully.
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
Then you will run into #3867, which you can workaround using this solution.
After applying the workaround build again and notice the error above.
In what environment did this happen?
Detox version: 20.5.0
React Native version: 0.70.7 / 0.71.3
Has Fabric (React Native's new rendering system) enabled: (yes/no) no
Node version: v16.13.0
Device model:
Android version:
Test-runner (select one):
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: