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

Problems with react-native-reanimated v3.11.0 e react-native v 0.74.1 #6025

Closed
devLucasCaetano opened this issue May 16, 2024 · 5 comments
Closed
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android

Comments

@devLucasCaetano
Copy link

Description

I'm use npm

BUILD FAILED
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug - PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ': react-native-reanimated:buildCMakeDebug[arm64-v8a]'. > com.adroid.ide.common.proccess.ProcessException: ninja: Entering directory `C:\ Users\ .... \node_modules\react-native-reanimated\android.cxx\Debug\5010ee3f\arm64-v8a' [0/2]
[...]

Steps to reproduce

I have done npm start -- --reset-cache
I also configured my babel.config.js:
module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: [
['@babel/plugin-proposal-decorators', { legacy: true }],
[
'react-native-reanimated/plugin',
{
relativeSourceLocation: true,
},
],
'babel-plugin-macros',
],
};

Snack or a link to a repository

https://stackoverflow.com/questions/57934866/react-native-reanimated-error-execution-failed-for-task-react-native-reanimat

Reanimated version

3.11.0

React Native version

0.74.1

Platforms

Android

JavaScript runtime

V8

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

None

Device

Android emulator

Device model

pixel 8 pro

Acknowledgements

Yes

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label May 16, 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?

@github-actions github-actions bot added the Platform: Android This issue is specific to Android label May 16, 2024
@iliapnmrv
Copy link

hey! any updates on this?

@piaskowyk
Copy link
Member

I'm not sure if V8 already supports react-native 0.74 🤔

@dcboy
Copy link

dcboy commented May 21, 2024

is the same with me

Execution failed for task ':react-native-reanimated:configureCMakeDebug[arm64-v8a]'.
[CXX1210] /Users/xxx/D/work/project-a/node_modules/react-native-reanimated/android/CMakeLists.txt debug|arm64-v8a : No compatible library found

@szydlovsky
Copy link
Contributor

szydlovsky commented May 23, 2024

Hey guys (@devLucasCaetano @iliapnmrv @dcboy ) as @piaskowyk mentioned, the v8 js runtime doesn't support react-native 0.74 just yet. The 2.3.0 version (latest one) of v8 has been published 4 months ago and it added RN0.73 support back then. So, naturally, all you can do is downgrade your react-native version to 0.73.x

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

5 participants