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

Task :react-native-reanimated:buildCMakeDebug[arm64-v8a] FAILED #6594

Closed
kikikiswanto opened this issue Oct 12, 2024 · 6 comments
Closed

Task :react-native-reanimated:buildCMakeDebug[arm64-v8a] FAILED #6594

kikikiswanto opened this issue Oct 12, 2024 · 6 comments
Labels
Platform: Android This issue is specific to Android Repro provided A reproduction with a snippet of code, snack or repo is provided

Comments

@kikikiswanto
Copy link

kikikiswanto commented Oct 12, 2024

Description

Error after upgrade RN
i create new project with new RN
i migrate all code to new project
all already fine
next step i install reanimated for using animate
but got error build
current version "react-native-reanimated": "^3.15.5",

i try downgrade version "react-native-reanimated": "^2.7.0",
build success but app crash and stop working on android emulator

image
image
image

Steps to reproduce

  1. npm install react-native-reanimated
  2. add 'react-native-reanimated/plugin' in babel.config.js
  3. npm start -- --reset-cache
  4. select a (for run android)
  5. and error

Snack or a link to a repository

https://snack.expo.dev/eC-VGwPtg1zx37u3YD_V2

Reanimated version

3.15.5

React Native version

0.75.3

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

Debug app & dev bundle

Device

Android emulator

Device model

Android API 35 x86_64

Acknowledgements

Yes

@github-actions github-actions bot added Platform: Android This issue is specific to Android Repro provided A reproduction with a snippet of code, snack or repo is provided labels Oct 12, 2024
@Priyanshu-Agrawal
Copy link

Any update on that? i am running into the same issue

@crackernandal0
Copy link

same issue with me but the solution is simple For example if you're using C:\HP User\Documents\Projects\Mobile\Project_name change it to something shorter like: C:\Projects\Mobile\Project_name.

Reasons for this is that NDK has a limited number of path characters. IN one of my projects this was the cause of the issue.

Hope this helps save someone day.

This should work as it worked for me.

@kikikiswanto
Copy link
Author

same issue with me but the solution is simple For example if you're using C:\HP User\Documents\Projects\Mobile\Project_name change it to something shorter like: C:\Projects\Mobile\Project_name.

Reasons for this is that NDK has a limited number of path characters. IN one of my projects this was the cause of the issue.

Hope this helps save someone day.

This should work as it worked for me.

Great, solved with move project path.
thanks, very hard for find simple solution.

@jinphic
Copy link

jinphic commented Dec 12, 2024

same issue with me but the solution is simple For example if you're using C:\HP User\Documents\Projects\Mobile\Project_name change it to something shorter like: C:\Projects\Mobile\Project_name.

Reasons for this is that NDK has a limited number of path characters. IN one of my projects this was the cause of the issue.

Hope this helps save someone day.

This should work as it worked for me.

thx!
I solved this problem with 2 steps

  1. delete arm-related in gradle.properties
    reactNativeArchitectures=x86,x86_64
  2. move the project to C:\username\my_app

@AlexisKenAlvarez
Copy link

same issue with me but the solution is simple For example if you're using C:\HP User\Documents\Projects\Mobile\Project_name change it to something shorter like: C:\Projects\Mobile\Project_name.

Reasons for this is that NDK has a limited number of path characters. IN one of my projects this was the cause of the issue.

Hope this helps save someone day.

This should work as it worked for me.

This solved my issue, thank you!

@anirban-baisya
Copy link

same issue with me but the solution is simple For example if you're using C:\HP User\Documents\Projects\Mobile\Project_name change it to something shorter like: C:\Projects\Mobile\Project_name.

Reasons for this is that NDK has a limited number of path characters. IN one of my projects this was the cause of the issue.

Hope this helps save someone day.

This should work as it worked for me.

You saved me, bro, Thank you !!
I'm struggling with this issue for 3 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Android This issue is specific to Android Repro provided A reproduction with a snippet of code, snack or repo is provided
Projects
None yet
Development

No branches or pull requests

6 participants