-
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
In detox/build.gradle: Could not find method minReactNative44Implementation() #516
Comments
This issue still exists in [email protected]. |
Same for 7.1.0 SO: https://stackoverflow.com/questions/48876569/reacct-native-on-android-cannot-compile-app Thanks |
Upgrading Gradle worked for me... Modified
Also had to modify To make sure gradle package was updated
And that seemed to work without any issues. |
Also make sure in the
|
@rborn that should solve the issues you're having? |
Is there a solution that does not involve updating Gradle? It'd be nice to have Detox work right after |
@shockdesign the |
@sunweiyang you have to upgrade Gradle as Detox 7 relies on changes in Gradle to work properly. |
@shockdesign I updated based on your suggestions and https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html but I get 2 errors now:
Any ideas? Thank you! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@rborn Sorry, your |
@shockdesign I managed to fix it, but I don't remember what I did, it was me doing some stupid thing (more than sure I was changing stuff in the wrong place). Thanks for the reply and sorry for not getting back in time 😔 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
The issue has been closed for inactivity. |
Related to: #774 |
Not really related since this is a build time dependency, the computer does a great job at stopping bad configurations/broken dependencies. Running tests however has no validation, I want to add runtime validation to versions of cli tools we use. |
Though this issue is closed, I would like to address a few of the issues raised here. There are two flavours to detox Android, one for rn44-45, and the other for 46 and up. Please make sure you read the Android setup docs.
|
@rotemmiz , I see your point. In any case, it could be a more user-friendly error message, so maybe it's a nice-to-have one. |
We have bigger problems 😣 |
Hi Friends,
Any help ? |
Description / Steps to Reproduce
./gradlew clean
from the React Native project'sandroid/
directory.This results in the following output:
Detox, Node, Device, Xcode and macOS Versions
The text was updated successfully, but these errors were encountered: