Skip to content

Execution failed for task ':react-native-reanimated:buildCMakeRelWithDebInfo[armeabi-v7a] #6718

@s1tony

Description

@s1tony

Description

While performing Release Build of my React Native App, I receive the following exception (note, Debug build works):

  • What went wrong:
    Execution failed for task ':react-native-reanimated:buildCMakeRelWithDebInfo[armeabi-v7a]'.

com.android.ide.common.process.ProcessException: ninja: Entering directory `K:\Source\collections-source\Collections\node_modules\react-native-reanimated\android.cxx\RelWithDebInfo\1y5e2947\armeabi-v7a'
[0/2] Re-checking globbed directories...
[1/37] Building CXX object src/main/cpp/worklets/CMakeFiles/worklets.dir/8d227a0f38aeddc6df1e837bbfea0aa8/Common/cpp/worklets/Tools/JSLogger.cpp.o
[2/37] Building CXX object src/main/cpp/worklets/CMakeFiles/worklets.dir/541c11f770471cf339ab8fba0254f9a2/cpp/worklets/Tools/ReanimatedVersion.cpp.o
[3/37] Building CXX object src/main/cpp/worklets/CMakeFiles/worklets.dir/5dd35182adbe3968ab437dcaf80f2671/WorkletRuntime/ReanimatedRuntime.cpp.o
ninja: build stopped: .

C++ build system [build] failed while executing:
@echo off
"C:\Users\Tony\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^
-C ^
"K:\Source\collections-source\Collections\node_modules\react-native-reanimated\android\.cxx\RelWithDebInfo\1y5e2947\armeabi-v7a" ^
reanimated ^
worklets
from K:\Source\collections-source\Collections\node_modules\react-native-reanimated\android
ninja: error: mkdir(src/main/cpp/reanimated/CMakeFiles/reanimated.dir/K_/Source/collections-source/Collections/node_modules/react-native-reanimated/Common): No such file or directory

Steps to reproduce

  1. npm start -- --reset-cache
  2. npm run android-coin-release

Snack or a link to a repository

https://github.com/s1tony/Collections2

Reanimated version

3.16.1

React Native version

0.76.1

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

Release app & production bundle

Device

Real device

Device model

Samsung S22

Acknowledgements

Yes

Metadata

Metadata

Assignees

Labels

Platform: AndroidThis issue is specific to AndroidRepro providedA reproduction with a snippet of code, snack or repo is provided

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions