Closed WoLewicki closed 2 days ago
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
In plugin 'com.facebook.react' type 'com.facebook.react.tasks.GenerateAutolinkingNewArchitecturesFileTask' property 'autolinkInputFile' specifies file './RNTPExampleNewArch/android/build/generated/autolinking/autolinking.json' which doesn't exist.
Ok I know what happen.
There should have been a .gitignore
change that added build/
at the top level.
That resulted in the packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/build/
from being excluded all together, so you're actually missing that ReactBuildConfig
file.
I'll send over a fix tomorrow
I'll send over a fix tomorrow
That was easier said than done :( It seems the .gitconfig
and .npmconfig
are set correctly so I'm unsure what's causing the removal of the packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/build/
folder before we package the NPM package.
@j-piasecki did some investigation and it seems to be related to the npm
version being different between CCI and GHA. As we migrated recently, this caused this issue.
We'll be fixing it in the next RC of 0.75
Description
When trying to build the simple App from source on
. It happens both on old and new arch.
Android
with RN 0.75.0-rc.2, the build fails with such errors: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