Issue
What went wrong: Execution failed for task ':react-native-reanimated:configureCMakeDebug[arm64-v8a]'.
[CXX1405] error when building with cmake using D:\Practice\GmmcoProject\node_modules\react-native-reanimated\android\CMakeLists.txt: Build command failed. Error while executing process C:\Users\CIPL1279\AppData\Local\Android\Sdk\cmake\3.18.1\bin\cmake.exe with arguments {-HD:\Practice\GmmcoProject\node_modules\react-native-reanimated\android -DCMAKE_SYSTEM_NAME=Android -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_SYSTEM_VERSION=21 -DANDROID_PLATFORM=android-21 -DANDROID_ABI=arm64-v8a -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DANDROID_NDK=C:\Users\CIPL1279\AppData\Local\Android\Sdk\ndk\21.4.7075529 -DCMAKE_ANDROID_NDK=C:\Users\CIPL1279\AppData\Local\Android\Sdk\ndk\21.4.7075529 -DCMAKE_TOOLCHAIN_FILE=C:\Users\CIPL1279\AppData\Local\Android\Sdk\ndk\21.4.7075529\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=C:\Users\CIPL1279\AppData\Local\Android\Sdk\cmake\3.18.1\bin\ninja.exe -DCMAKE_CXX_FLAGS=-fstack-protector-all -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\Practice\GmmcoProject\node_modules\react-native-reanimated\android\build\intermediates\cxx\Debug\695xx5w3\obj\arm64-v8a -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=D:\Practice\GmmcoProject\node_modules\react-native-reanimated\android\build\intermediates\cxx\Debug\695xx5w3\obj\arm64-v8a -DCMAKE_BUILD_TYPE=Debug -BD:\Practice\GmmcoProject\node_modules\react-native-reanimated\android.cxx\Debug\695xx5w3\arm64-v8a -GNinja -DANDROID_STL=c++_shared -DNATIVE_DEBUG=false -DREACT_NATIVE_TARGET_VERSION=70 -DANDROID_TOOLCHAIN=clang -DBOOST_VERSION=1_76_0 -DNODE_MODULES_DIR=D:\Practice\GmmcoProject\node_modules -DJS_RUNTIME=hermes -DJS_RUNTIME_DIR=D:\Practice\GmmcoProject\node_modules\react-native\sdks\hermes -DCLIENT_SIDE_BUILD=true -DIS_NEW_ARCHITECTURE_ENABLED=false -DPLAYGROUND_APP_NAME=D:\Practice\GmmcoProject\android\app -DRNVERSION=70}
Solution
Try to reinstall the reanimated version.
npm uninstall react-native-reanimated
npm install [email protected]
Answered By - colan
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.