Giter Site home page Giter Site logo

Comments (13)

manish-cashify avatar manish-cashify commented on June 3, 2024 47

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

from react-native-reanimated.

irenegonzalez27 avatar irenegonzalez27 commented on June 3, 2024 7

Would you know when will v 3.9.0 be released?

from react-native-reanimated.

GoldZy11 avatar GoldZy11 commented on June 3, 2024 3

I found the solution, just downgrade RN to 0.73.0 v, if you see this table, the Reanimated 0.8.1v donยดt support RN 0.74.0.
imagen

from react-native-reanimated.

tomekzaw avatar tomekzaw commented on June 3, 2024 2

@tapz Thanks for opening this issue and everyone else for your comments.

For React Native 0.74 support, you'll need to upgrade to Reanimated 3.10.0 or newer.

from react-native-reanimated.

avantmarketing1 avatar avantmarketing1 commented on June 3, 2024 1

I'm having the same issue.

from react-native-reanimated.

brim0049 avatar brim0049 commented on June 3, 2024 1

same issue ebug UP-TO-DATE

Task :react-native-reanimated:packageNdkLibs NO-SOURCE

Task :react-native-reanimated:compileDebugJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
223 actionable tasks: 5 executed, 218 up-to-date

info ๐Ÿ’ก Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

C:\Users\Dell WorkStation\Desktop\mohammed\Algeria\node_modules\react-native-reanimated\android\src\reactNativeVersionPatch\ReanimatedUIManager\latest\com\swmansion\reanimated\layoutReanimation\ReanimatedUIManager.java:103: error: cannot find symbol
super.replaceExistingNonRootView(oldTag, newTag);
^
symbol: method replaceExistingNonRootView(int,int)
C:\Users\Dell WorkStation\Desktop\mohammed\Algeria\node_modules\react-native-reanimated\android\src\reactNativeVersionPatch\ReanimatedUIManager\latest\com\swmansion\reanimated\layoutReanimation\ReanimatedUIManager.java:116: error: cannot find symbol
super.removeSubviewsFromContainerWithID(containerTag);
^
symbol: method removeSubviewsFromContainerWithID(int)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-reanimated:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:

Run with --info option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 9s
info Run CLI with --verbose flag for more details.

from react-native-reanimated.

github-actions avatar github-actions commented on June 3, 2024

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?

from react-native-reanimated.

ppritesh avatar ppritesh commented on June 3, 2024

facing same issue.

from react-native-reanimated.

brim0049 avatar brim0049 commented on June 3, 2024

same issue

from react-native-reanimated.

GoldZy11 avatar GoldZy11 commented on June 3, 2024

same issue ebug UP-TO-DATE

Task :react-native-reanimated:packageNdkLibs NO-SOURCE

Task :react-native-reanimated:compileDebugJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. 223 actionable tasks: 5 executed, 218 up-to-date

info ๐Ÿ’ก Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

C:\Users\Dell WorkStation\Desktop\mohammed\Algeria\node_modules\react-native-reanimated\android\src\reactNativeVersionPatch\ReanimatedUIManager\latest\com\swmansion\reanimated\layoutReanimation\ReanimatedUIManager.java:103: error: cannot find symbol super.replaceExistingNonRootView(oldTag, newTag); ^ symbol: method replaceExistingNonRootView(int,int) C:\Users\Dell WorkStation\Desktop\mohammed\Algeria\node_modules\react-native-reanimated\android\src\reactNativeVersionPatch\ReanimatedUIManager\latest\com\swmansion\reanimated\layoutReanimation\ReanimatedUIManager.java:116: error: cannot find symbol super.removeSubviewsFromContainerWithID(containerTag); ^ symbol: method removeSubviewsFromContainerWithID(int) Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors

FAILURE: Build failed with an exception.

* What went wrong:
  Execution failed for task ':react-native-reanimated:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

* Try:

Run with --info option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 9s info Run CLI with --verbose flag for more details.

I got the same issue

from react-native-reanimated.

error-try-again avatar error-try-again commented on June 3, 2024

From what I've gathered, replaceExistingNonRootView(int,int) & removeSubviewsFromContainerWithID(int containerTag) do not exist on the current parent/super class which is why the error is being thrown.

Since I'm only using reanimated as a dependency of "@react-navigation/drawer": "^6.6.11", I was able to get around the issue with the following hack & by commenting out the execution statements. Drawer works fine now.

I'm not sure how this workaround will affect other use-use cases.

node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/ReanimatedUIManager/latest/com/swmansion/reanimated/layoutReanimation/ReanimatedUIManager.java

  @ReactMethod  
  @Deprecated  
  public void replaceExistingNonRootView(int oldTag, int newTag) {  
//    super.replaceExistingNonRootView(oldTag, newTag);  
  }  
  
  @ReactMethod  
  @Deprecated  
  public void removeSubviewsFromContainerWithID(int containerTag) {  
//    super.removeSubviewsFromContainerWithID(containerTag);  
  }

from react-native-reanimated.

abdulbari149 avatar abdulbari149 commented on June 3, 2024

Facing the same issue.

from react-native-reanimated.

florismettey avatar florismettey commented on June 3, 2024

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

Thx manish-cashify
react-native-reanimated 3.9.0 has been released https://github.com/software-mansion/react-native-reanimated/releases/tag/3.9.0
We can now use: "react-native-reanimated": "^3.9.0"

from react-native-reanimated.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.