-
Notifications
You must be signed in to change notification settings - Fork 907
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
Why doesnt my @react-native-community\cli-platform-android package contain a native_modules.gradle file #2593
Comments
Are you using Node v20? Upgrading to v22 and nuking node_modules and android directory followed by a |
Manually creating it in node_modules/@react-native-community/cli-platform-android works
|
After looking a bit, in #2547, the Same applies for ios native module file changed in the PR |
what should we do to fix this error then? the file no longer exists |
The native logic for autolinking moved to the core react native in 0.75. Check the upgrade helper: https://react-native-community.github.io/upgrade-helper/?from=0.74.0&to=0.75.1 and follow the changes please |
Ask your Question
Hello!
I have tried installing the
@react-native-community\cli
and the@react-native-community\cli-platform-android
separately for testing this problem, and neither packages contain anative_modules.gradle
file within the root directory ofcli-platform-android
. Am I doing something wrong? Why isnt it there? I need it for my android build! Thank youThe text was updated successfully, but these errors were encountered: