Skip to content
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

Compilation Failure in :react-native-reanimated:compileDebugJavaWithJavac (RN 0.74.0) #5928

Open
keith212005 opened this issue Apr 23, 2024 · 20 comments
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android

Comments

@keith212005
Copy link

Description

After upgrading RN version from 0.73.7 to 0.74.0, compilation fails in Android.

Steps to reproduce

  1. Upgrage RN version 0.73.7 to 0.74.0 (Before the upgrade everything was working fine)
  2. Got the above error when building for Android.
  3. Cleared Android build and cache.
  4. cleared metro cache.
  5. Still the same problem.

Screenshot 2024-04-22 at 7 52 41 PM

Screenshot 2024-04-22 at 8 12 43 PM

Snack or a link to a repository

https://snack.expo.io/

Reanimated version

3.8.1

React Native version

0.74.0

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Paper (Old Architecture)

Build type

Debug app & dev bundle

Device

Android emulator

Device model

No response

Acknowledgements

Yes

@github-actions github-actions bot added Platform: Android This issue is specific to Android Missing repro This issue need minimum repro scenario labels Apr 23, 2024
Copy link

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?

@mishenThakshana
Copy link

Were you able to fix this? Still facing this issue

@arasrezaei
Copy link

use latest RC version

@XavegX367
Copy link

I am getting the exact same error when trying to build for android, while iOS is just working fine...

@mishenThakshana
Copy link

I am getting the exact same error when trying to build for android, while iOS is just working fine...

Yeah me too

@FernandoAOborges
Copy link

Use rc release: "react-native-reanimated": "^3.9.0-rc.1"

@mishenThakshana
Copy link

Use rc release: "react-native-reanimated": "^3.9.0-rc.1"

This giving me react-native-screens error

@jackiemacklein
Copy link

Use rc release: "react-native-reanimated": "^3.9.0-rc.1"

solved it for me

@yerros
Copy link

yerros commented Apr 23, 2024

Use rc release: "react-native-reanimated": "^3.9.0-rc.1"

yes, this work for me

@XavegX367
Copy link

I am getting dependency issues with gorhom bottomsheets if I use this

Use rc release: "react-native-reanimated": "^3.9.0-rc.1"

@migsandia-1984
Copy link

I am getting the exact same error when trying to build for android

@Abby9111
Copy link

I am getting dependency issues with gorhom bottomsheets if I use this

Use rc release: "react-native-reanimated": "^3.9.0-rc.1"

me too

@rick427
Copy link

rick427 commented Apr 25, 2024

Having the exact same issue

@mishenThakshana
Copy link

Use rc release: "react-native-reanimated": "^3.9.0-rc.1"

Giving errors with react-native-safe-area-context

@keith212005
Copy link
Author

Use rc release: "react-native-reanimated": "^3.9.0-rc.1"

Giving errors with react-native-safe-area-context

Update to latest version of react-native-safe-area-context

@parthasarathi95
Copy link

Hey I am using "react-native-reanimated": "^3.9.0-rc.1", "react-native": "0.74.0"
because of the Android issue. Currently, it's working on Android, but on iOS if I do goBack() or use the navigate function to go back to a previous page then the app is crashing. on Xcode its opening REAAnimationsManager.m and - (void)clearSharedTransitionConfigForTag:(NSNumber *)tag
{
_clearSharedTransitionConfigForTag(tag); <---- it's giving some error, I have attached the screenshot.
}

Need help.

currently, I have commented out this line, _clearSharedTransitionConfigForTag(tag);
It's working, but I am not sure if it will create any issues or not.

Screenshot 2024-04-25 at 8 41 56 PM

@taksvals
Copy link

Have the same issue
Tried using "react-native-reanimated": "^3.9.0-rc.1" it fixed the problem, but now there is dependency conflict with @react-navigation/drawer
Is there any information when this fix will be released?

@amjadbouhouch
Copy link

+1

@rick427
Copy link

rick427 commented Apr 26, 2024

Installing "react-native-reanimated": "^3.9.0-rc.1" version will temporarily fix the build error but you'll get a lot conflicts with other libraries such as @gorhom/bottom-sheet, moti, @react-navigation/drawer etc .. essentially libs that depends on reanimated. :(

@mishenThakshana
Copy link

Update to "react-native-reanimated": "^3.9.0", and if you are using safe area context upgrade it to "react-native-safe-area-context": "^4.10.1", this will fix the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android
Projects
None yet
Development

No branches or pull requests