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

C++ build system [build] failed while executing #574

Open
mahavir-amoga opened this issue Jan 16, 2025 · 0 comments
Open

C++ build system [build] failed while executing #574

mahavir-amoga opened this issue Jan 16, 2025 · 0 comments

Comments

@mahavir-amoga
Copy link

mahavir-amoga commented Jan 16, 2025

Task :app:buildCMakeDebug[arm64-v8a] FAILED
C/C++: ninja: error: Stat(safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/C_/Users/MahavirsinhChauhan/Documents/codes/new-expo/new-expo/node_modules/react-native-safe-area-context/android/build/generated/source/codegen/jni/react/renderer/components/safeareacontext/safeareacontextJSI-generated.cpp.o): Filename longer than 260 character

Task :react-native-safe-area-context:compileDebugKotlin
w: file:///C:/Users/MahavirsinhChauhan/Documents/codes/new-expo/new-expo/node_modules/react-native-safe-area-context/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaView.kt:59:23 'getter for uiImplementation: UIImplementation!' is deprecated. Deprecated in Java

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:buildCMakeDebug[arm64-v8a]'.

com.android.ide.common.process.ProcessException: ninja: Entering directory `C:\Users\MahavirsinhChauhan\Documents\codes\new-expo\new-expo\android\app.cxx\Debug\1833n2t3\arm64-v8a'
[0/2] Re-checking globbed directories...

C++ build system [build] failed while executing:
@echo off
"C:\Users\MahavirsinhChauhan\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^
-C ^
"C:\Users\MahavirsinhChauhan\Documents\codes\new-expo\new-expo\android\app\.cxx\Debug\1833n2t3\arm64-v8a" ^
appmodules ^
react_codegen_rnscreens ^
react_codegen_safeareacontext
from C:\Users\MahavirsinhChauhan\Documents\codes\new-expo\new-expo\android\app
ninja: error: Stat(safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/C_/Users/MahavirsinhChauhan/Documents/codes/new-expo/new-expo/node_modules/react-native-safe-area-context/android/build/generated/source/codegen/jni/react/renderer/components/safeareacontext/safeareacontextJSI-generated.cpp.o): Filename longer than 260 characters

It's failing while opening API >= 34 I don't know why it is working in API 33 build!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant