-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
[Android] Build From Source failing on 0.75.0-rc.2 #45204
Comments
I encounter this as well, if I just copy ReactBuildConfig.java into com.facebook.react.common.build.ReactBuildConfig it would get pass this; but then I got autolinking fail error messages |
Ok I know what happen. There should have been a I'll send over a fix tomorrow |
That was easier said than done :( It seems the |
@j-piasecki did some investigation and it seems to be related to the |
…45279) Summary: Changes `.npmignore` file to only exclude the `ReactAndroid/build` directory instead of all `build` directories under `ReactAndroid` (which included the `ReactAndroid/src/main/java/com/facebook/react/common/build` package). This problem was caused by the newer version of NPM being used. Closes #45204 ## Changelog: [ANDROID] [FIXED] - Fixed build from source failing due to a missing file Pull Request resolved: #45279 Test Plan: Run `npm pack` or `npm publish -dry-run`. Before this change it includes 3774 files in the package and `ReactBuildConfig` isn't included. After this change it includes 3775 files in the package and `ReactBuildConfig` is included. Reviewed By: javache Differential Revision: D59371555 Pulled By: cortinico fbshipit-source-id: f54f1e88e30429d538b9e160e6ce20d994c5d1b8
Description
When trying to build the simple App from source on
Android
with RN 0.75.0-rc.2, the build fails with such errors:. It happens both on old and new arch.
Building normally works correctly on both archs.
Steps to reproduce
RN 0.75.0-rc.2
.React Native Version
0.75.0-rc.2
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/WoLewicki/reproducer-react-native/tree/%40wolewicki/75-build-from-source
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: