-
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
Use NDK 23 only for Windows users. #33611
Conversation
Summary: Bumping the NDK to 23 to prevent build failures due to the NDK using longer paths. Changelog: [Android] [Fixed] - Use NDK 23 only for Windows users. Differential Revision: D35547459 fbshipit-source-id: 82fc0c843528e2c81b4cf8f66e3ef832e0027dec
This pull request was exported from Phabricator. Differential Revision: D35547459 |
Base commit: 65abc36 |
Base commit: 65abc36 |
@cortinico I can help in the tests, basically just change the file? |
Thanks for that @RalissonMattias You can find simple instructions on how to test it here: https://gist.github.com/cortinico/6a297ac4c6a2a4633f58f1e4b375dd88 Please publish the gradle scans once you're done with it. |
|
I've updated the |
Thanks for the feedback. I ended up finding a windows machine and finding a (hopefully) working solution. It works locally for me but I'd like someone else to give it another try. I've updated the .patch file in gist (here https://gist.github.com/cortinico/6a297ac4c6a2a4633f58f1e4b375dd88) with a new one (fix33611-v3.patch). Could you give it another try (make sure to delete the project and re-create it). |
@cortinico I gave it a go.
-- ✔️ Advised to move project from |
Awesome thanks for giving it a try. I'll close this PR as we'll merge this instead: Which contains the v3 patch I've added in the gist. I hope that with RN 0.69, as we moved to CMake, those kind of problems won't appear anymore. |
@cortinico I know you already closed PR but I wanted to report that following the steps of @mikehardy worked correctly here too. Good job, see you later ❌https://gradle.com/s/qxh3ndc6bel4c |
Thanks for your feedback @Ralisson-Mattias 🙏 Yup I've closed this one as we're going to merge the other PR: #33582 |
On my trials, ndk23 is able to handle long paths, but the build fails because of long commmand lines (>8192 characters) .. I've created another PR with the ndk bump too .. |
Summary: Pull Request resolved: #33611 Bumping the NDK to 23 to prevent build failures due to the NDK using longer paths. Changelog: [Android] [Fixed] - Use NDK 23 only for Windows users. Reviewed By: motiz88 Differential Revision: D35547459 fbshipit-source-id: 4e44c0b5fd8d1c559b04fb43eb4eeadc13943394
This pull request was successfully merged by @cortinico in e48a580. When will my fix make it into a release? | Upcoming Releases |
Summary: Pull Request resolved: facebook#33611 Bumping the NDK to 23 to prevent build failures due to the NDK using longer paths. Changelog: [Android] [Fixed] - Use NDK 23 only for Windows users. Reviewed By: motiz88 Differential Revision: D35547459 fbshipit-source-id: 4e44c0b5fd8d1c559b04fb43eb4eeadc13943394
Summary:
Bumping the NDK to 23 to prevent build failures due to the NDK
using longer paths.
Changelog:
[Android] [Fixed] - Use NDK 23 only for Windows users.
Differential Revision: D35547459