-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 Issue with New Architecture #3595
Comments
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem? |
@rnkdsh please post your android/build.gradle & android/app/build.gradle |
Hey @rnkdsh, thanks for submitting this issue. Does it fail if you run |
I have the same issue.
app/buid.gradle
new project build.gradle |
Same issue: RN 0.70.1, RNR v2.10.0 and v3.0.0-rc.2 & rc.3 As a side note I have a mobile app sitting in a monorepo by nrwl like
It appears that Android gradle plugin: 7.2.1 |
The same as above when
|
Same issue |
still waiting for a fix. |
Me too |
I am having the same issue, with the new arch enabled + v8, on the below combinations:
|
Hey @tomekzaw, it does seem that
is there any way that you could push out a patch for reanimated |
Hey @capezzbr , we just published 2.11.0, could you please check if it works for you? I've personally checked that building from source on Android works with RN 0.65, 0.68 and 0.70. |
Hey @tomekzaw , tested 2.11.0 with RN 0.69.4 and V8 (so building from source) and I am getting this failure on Android for the new arch
I think that issue might be related to the monorepo issue (#3571), so I am going ahead and apply that patch and see if that resolves it. Will reply back in < 1h |
I can confirm that Reanimated 2.11.0 (plus patch referenced in #3571 (comment)) does compile with the new architecture on RN 0.69.4 and V8 (so building from source) |
@tomekzaw while 2.11 fixes the issue on Android with the new arch, it does break iOS new arch. This happens on RN 0.69 as well as RN 0.70. Here are my logs:
|
Hey @capezzbr, this might be due to C++ version. In particular,
Reanimated 2 doesn't support the new architecture. If you need Fabric support, you must use 3.0.0-rc.3. |
Hey @tomekzaw yeah that make sense, I was reporting the issue since Reanimated |
@capezzbr Are you sure that 2.10.0 on 0.69 works with Fabric enabled? 2.x branch does not contain any Fabric-specific code (updating props, modifying C++ ShadowTree) so how is that possible? |
it works as, both iOS/Android apps build, which is good for us so that we can test in CI that PR changes won't break building new arch. |
I use with "yarn react-native run-android" then it build and work ,I don`t kown why ,but just can not use android studio run ,it will post error. |
我也遇到这个问题最终解决了 Android gradle plugin: 7.2.1 解决:
|
setting |
resolved....please follow below link |
Could someone confirm whether this issue still persists with the latest versions of Reanimated and React Native, such as 0.72 or 0.73? |
Running into this on RN 0.73 |
Hey everyone, is the issue still relevant? I'm talking about Reanimated 3.12 or at least 3.10+ |
Description
Steps to reproduce
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "cmake;3.18.1"
./gradlew assembleRelease
Snack or a link to a repository
https://github.com/software-mansion/react-native-reanimated
Reanimated version
3.0.0-rc.2
React Native version
0.70.1
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Release mode
Device
No response
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: