-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
docs(react-native): fix app build.gradle react config default paths #44472
docs(react-native): fix app build.gradle react config default paths #44472
Conversation
The current paths points to the android folder, but should point to the project root. Currently the android build fails if one uncomments the folder paths, using the default value.
Base commit: deee037 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @monholm, thanks for the contribution!
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This pull request was successfully merged by @monholm in 2d8c6f5. When will my fix make it into a release? | How to file a pick request? |
…#44472) Summary: Minor inconvenience I noticed while doing some testing in a mono-repo. The current paths points to the android folder, but should point to the project root. Currently the android build fails if one uncomments the folder paths as they are. ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID] [FIXED] - Fix incorrect paths in app build.gradle react config block For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [ANDROID] [FIXED] - Fix incorrect paths in app build.gradle react config block Pull Request resolved: facebook/react-native#44472 Test Plan: Uncomment the paths are they are and notice the android build error: ``` FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':app'. > Failed to notify project evaluation listener. > /xyz/xyz/xyz/xyz/RNPathTester/android/node_modules/react-native/ReactAndroid/gradle.properties (No such file or directory) ``` Use the updated paths and notice the build succeeds 🥳 Reviewed By: GijsWeterings Differential Revision: D57093768 Pulled By: cipolleschi fbshipit-source-id: 8472151c74c7aa5c51dc75f9adda6116387bdf99 Original: facebook/react-native@2d8c6f5
…acebook#44472) Summary: Minor inconvenience I noticed while doing some testing in a mono-repo. The current paths points to the android folder, but should point to the project root. Currently the android build fails if one uncomments the folder paths as they are. ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID] [FIXED] - Fix incorrect paths in app build.gradle react config block For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [ANDROID] [FIXED] - Fix incorrect paths in app build.gradle react config block Pull Request resolved: facebook#44472 Test Plan: Uncomment the paths are they are and notice the android build error: ``` FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':app'. > Failed to notify project evaluation listener. > /xyz/xyz/xyz/xyz/RNPathTester/android/node_modules/react-native/ReactAndroid/gradle.properties (No such file or directory) ``` Use the updated paths and notice the build succeeds 🥳 Reviewed By: GijsWeterings Differential Revision: D57093768 Pulled By: cipolleschi fbshipit-source-id: 8472151c74c7aa5c51dc75f9adda6116387bdf99
Summary:
Minor inconvenience I noticed while doing some testing in a mono-repo.
The current paths points to the android folder, but should point to the project root. Currently the android build fails if one uncomments the folder paths as they are.
Changelog:
[ANDROID] [FIXED] - Fix incorrect paths in app build.gradle react config block
Test Plan:
Uncomment the paths are they are and notice the android build error:
Use the updated paths and notice the build succeeds 🥳