fix IOException in BuildCodegenCLITask#48008
Conversation
mmm that's suspicious as if that would be the case, the CI would also be right no? How can I reproduce this? #47552 needs more time before we can merge it (cc @huntie) so I'm keen on fixing this issue with this PR if necessary |
|
@vonovak can you share a trace of the failure? |
|
To repro, open https://github.com/facebook/react-native/blob/0.77-stable/build.gradle.kts in android studio. For me it fails doing the gradle sync. When I add
in here I get this trace: Details |
|
LGTM, thanks for opening! @cortinico FYI I put some effort into resurrecting #47552 recently. Closer than ever to landing, but needs a final nontrivial Jest fix in fbsource (sigh). |
|
@robhogan 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 @vonovak in 9147b07 When will my fix make it into a release? | How to file a pick request? |
Summary: building RN tester with 0.77 rc-0 doesn't work now because of `java.io.IOException: No such file or directory` on line 48. `buildDirectory` is a Gradle property representing a file #47552 removes this file altogether so feel free to close if that one is the "right one" ## Changelog: [ANDROID] [FIXED] - fix IOException in `BuildCodegenCLITask` Pull Request resolved: #48008 Test Plan: After this change, building RN tester works. Reviewed By: cortinico Differential Revision: D66650038 Pulled By: robhogan fbshipit-source-id: 11cd83493fa118c6b79d11c9113228dd3971a803

Summary:
building RN tester with 0.77 rc-0 doesn't work now because of
java.io.IOException: No such file or directoryon line 48.buildDirectoryis a Gradle property representing a file#47552 removes this file altogether so feel free to close if that one is the "right one"
Changelog:
[ANDROID] [FIXED] - fix IOException in
BuildCodegenCLITaskTest Plan:
After this change, building RN tester works.