-
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
[0.76.2] windows android build fails #47626
Comments
Warning Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
|
Same issue after upgrade to 0.76.2 |
Hey @lovegaoshi, thanks for reporting this issue. Would you like to open the PR with the fix? |
Same issue with react-native 0.76.2. |
Same Issue after 0.76.1 to 0.76.2 info Installing the app... > Task :app:configureCMakeDebug[arm64-v8a] FAILED FAILURE: Build failed with an exception.
when newArchEnabled=false then build is running and working fine while enabling this to true it gives error . |
Check by uninstalling and installing node modules, and i changed the react-native version to 18.3.1 |
Resolved by #47641 |
Thankyou this solution worked for me :) |
@lovegaoshi , Thanks saved a lot of time |
Description
windows android build on 0.76.2 fails due to an invalid escape character error during cmake. this is probably bc 3956955 introduced REACT_ANDROID_DIR for cmake, but not escaping \ to / like BUILD_DIR did.
I just added REACT_ANDROID_DIR \ escaping under the CMAKE_HOST_WIN32 if above and it works again. like
Steps to reproduce
build 0.76.2 on windows
React Native Version
0.76.2
Affected Platforms
Build - Windows
Output of
npx react-native info
Stacktrace or Logs
Reproducer
n/a
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: