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

error when newArchEnabled=true #47500

Closed
latuan2710 opened this issue Nov 8, 2024 · 3 comments
Closed

error when newArchEnabled=true #47500

latuan2710 opened this issue Nov 8, 2024 · 3 comments
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Resolution: Duplicate Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules)

Comments

@latuan2710
Copy link

latuan2710 commented Nov 8, 2024

Description

i just create new react-native project, and it errors when I install react-native-safe-area-context react-native-screens

Steps to reproduce

  1. create new react-native project
  2. install react-native-safe-area-context
  3. run android and issue when build (just run for demo without change code)
  4. but when i change newArchEnabled=false in \android\settings.gradle, it work

React Native Version

0.76.1

Affected Platforms

Runtime - Android

Areas

TurboModule - The New Native Module System

Output of npx react-native info

System:
  OS: Windows 11 10.0.22631
  CPU: (8) x64 Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz
  Memory: 3.02 GB / 7.87 GB
Binaries:
  Node:
    version: 20.18.0
    path: E:\Nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 10.8.2
    path: E:\Nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.10.34916.146 (Visual Studio Community 2022)
Languages:
  Java: 17.0.12
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.0
    wanted: 15.0.0
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.1
    wanted: ^0.76.1
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs

> Task :app:configureCMakeDebug[arm64-v8a]
C/C++: CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:9 (add_subdirectory):
C/C++:   add_subdirectory called with incorrect number of arguments
C/C++: Call Stack (most recent call first):
C/C++:   F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
C/C++:   CMakeLists.txt:31 (include)
C/C++: CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:10 (add_subdirectory):
C/C++:   add_subdirectory called with incorrect number of arguments
C/C++: Call Stack (most recent call first):
C/C++:   F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
C/C++:   CMakeLists.txt:31 (include)
C/C++: CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:11 (add_subdirectory):
C/C++:   add_subdirectory called with incorrect number of arguments
C/C++: Call Stack (most recent call first):
C/C++:   F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
C/C++:   CMakeLists.txt:31 (include)
C/C++: CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:12 (add_subdirectory):
C/C++:   add_subdirectory called with incorrect number of arguments
C/C++: Call Stack (most recent call first):
C/C++:   F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
C/C++:   CMakeLists.txt:31 (include)
C/C++: CMake Error at F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:89 (target_link_libraries):
C/C++:   Cannot specify link libraries for target
C/C++:   "react_codegen_rngesturehandler_codegen" which is not built by this
C/C++:   project.
C/C++: Call Stack (most recent call first):
C/C++:   CMakeLists.txt:31 (include)

> Task :app:configureCMakeDebug[arm64-v8a] FAILED
108 actionable tasks: 20 executed, 88 up-to-date

info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor 

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:configureCMakeDebug[arm64-v8a]'.
> [CXX1429] error when building with cmake using F:\React Native\Test\node_modules\react-native\ReactAndroid\cmake-utils\default-app-setup\CMakeLists.txt: -- The C compiler identification is Clang 17.0.2
  -- The CXX compiler identification is Clang 17.0.2
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: E:/Android/SDK/ndk/26.1.10909125/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: E:/Android/SDK/ndk/26.1.10909125/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Configuring incomplete, errors occurred!
  See also "F:/React Native/Test/android/app/.cxx/Debug/241y5d5a/arm64-v8a/CMakeFiles/CMakeOutput.log".

  C++ build system [configure] failed while executing:
      @echo off
      "E:\\Android\\SDK\\cmake\\3.22.1\\bin\\cmake.exe" ^
        "-HF:\\React Native\\Test\\node_modules\\react-native\\ReactAndroid\\cmake-utils\\default-app-setup" ^
        "-DCMAKE_SYSTEM_NAME=Android" ^
        "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" ^
        "-DCMAKE_SYSTEM_VERSION=24" ^
        "-DANDROID_PLATFORM=android-24" ^
        "-DANDROID_ABI=arm64-v8a" ^
        "-DCMAKE_ANDROID_ARCH_ABI=arm64-v8a" ^
        "-DANDROID_NDK=E:\\Android\\SDK\\ndk\\26.1.10909125" ^
        "-DCMAKE_ANDROID_NDK=E:\\Android\\SDK\\ndk\\26.1.10909125" ^
        "-DCMAKE_TOOLCHAIN_FILE=E:\\Android\\SDK\\ndk\\26.1.10909125\\build\\cmake\\android.toolchain.cmake" ^
        "-DCMAKE_MAKE_PROGRAM=E:\\Android\\SDK\\cmake\\3.22.1\\bin\\ninja.exe" ^
        "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=F:\\React Native\\Test\\android\\app\\build\\intermediates\\cxx\\Debug\\241y5d5a\\obj\\arm64-v8a" ^
        "-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=F:\\React Native\\Test\\android\\app\\build\\intermediates\\cxx\\Debug\\241y5d5a\\obj\\arm64-v8a" ^
        "-DCMAKE_BUILD_TYPE=Debug" ^
        "-DCMAKE_FIND_ROOT_PATH=F:\\React Native\\Test\\android\\app\\.cxx\\Debug\\241y5d5a\\prefab\\arm64-v8a\\prefab" ^
        "-BF:\\React Native\\Test\\android\\app\\.cxx\\Debug\\241y5d5a\\arm64-v8a" ^
        -GNinja ^
        "-DPROJECT_BUILD_DIR=F:\\React Native\\Test\\android\\app\\build" ^
        "-DREACT_ANDROID_DIR=F:\\React Native\\Test\\node_modules\\react-native\\ReactAndroid" ^
        "-DANDROID_STL=c++_shared" ^
        "-DANDROID_USE_LEGACY_TOOLCHAIN_FILE=ON"
    from F:\React Native\Test\android\app
  CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:9 (add_subdirectory):
    add_subdirectory called with incorrect number of arguments
  Call Stack (most recent call first):
    F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
    CMakeLists.txt:31 (include)


  CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:10 (add_subdirectory):
    add_subdirectory called with incorrect number of arguments
  Call Stack (most recent call first):
    F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
    CMakeLists.txt:31 (include)


  CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:11 (add_subdirectory):
    add_subdirectory called with incorrect number of arguments
  Call Stack (most recent call first):
    F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
    CMakeLists.txt:31 (include)


  CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:12 (add_subdirectory):
    add_subdirectory called with incorrect number of arguments
  Call Stack (most recent call first):
    F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
    CMakeLists.txt:31 (include)


  CMake Error at F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:89 (target_link_libraries):
    Cannot specify link libraries for target
    "react_codegen_rngesturehandler_codegen" which is not built by this
    project.
  Call Stack (most recent call first):
    CMakeLists.txt:31 (include) : com.android.ide.common.process.ProcessException: -- The C compiler identification is Clang 17.0.2
  -- The CXX compiler identification is Clang 17.0.2
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: E:/Android/SDK/ndk/26.1.10909125/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: E:/Android/SDK/ndk/26.1.10909125/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Configuring incomplete, errors occurred!
  See also "F:/React Native/Test/android/app/.cxx/Debug/241y5d5a/arm64-v8a/CMakeFiles/CMakeOutput.log".

  C++ build system [configure] failed while executing:
      @echo off
      "E:\\Android\\SDK\\cmake\\3.22.1\\bin\\cmake.exe" ^
        "-HF:\\React Native\\Test\\node_modules\\react-native\\ReactAndroid\\cmake-utils\\default-app-setup" ^
        "-DCMAKE_SYSTEM_NAME=Android" ^
        "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" ^
        "-DCMAKE_SYSTEM_VERSION=24" ^
        "-DANDROID_PLATFORM=android-24" ^
        "-DANDROID_ABI=arm64-v8a" ^
        "-DCMAKE_ANDROID_ARCH_ABI=arm64-v8a" ^
        "-DANDROID_NDK=E:\\Android\\SDK\\ndk\\26.1.10909125" ^
        "-DCMAKE_ANDROID_NDK=E:\\Android\\SDK\\ndk\\26.1.10909125" ^
        "-DCMAKE_TOOLCHAIN_FILE=E:\\Android\\SDK\\ndk\\26.1.10909125\\build\\cmake\\android.toolchain.cmake" ^
        "-DCMAKE_MAKE_PROGRAM=E:\\Android\\SDK\\cmake\\3.22.1\\bin\\ninja.exe" ^
        "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=F:\\React Native\\Test\\android\\app\\build\\intermediates\\cxx\\Debug\\241y5d5a\\obj\\arm64-v8a" ^
        "-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=F:\\React Native\\Test\\android\\app\\build\\intermediates\\cxx\\Debug\\241y5d5a\\obj\\arm64-v8a" ^
        "-DCMAKE_BUILD_TYPE=Debug" ^
        "-DCMAKE_FIND_ROOT_PATH=F:\\React Native\\Test\\android\\app\\.cxx\\Debug\\241y5d5a\\prefab\\arm64-v8a\\prefab" ^
        "-BF:\\React Native\\Test\\android\\app\\.cxx\\Debug\\241y5d5a\\arm64-v8a" ^
        -GNinja ^
        "-DPROJECT_BUILD_DIR=F:\\React Native\\Test\\android\\app\\build" ^
        "-DREACT_ANDROID_DIR=F:\\React Native\\Test\\node_modules\\react-native\\ReactAndroid" ^
        "-DANDROID_STL=c++_shared" ^
        "-DANDROID_USE_LEGACY_TOOLCHAIN_FILE=ON"
    from F:\React Native\Test\android\app
  CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:9 (add_subdirectory):
    add_subdirectory called with incorrect number of arguments
  Call Stack (most recent call first):
    F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
    CMakeLists.txt:31 (include)


  CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:10 (add_subdirectory):
    add_subdirectory called with incorrect number of arguments
  Call Stack (most recent call first):
    F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
    CMakeLists.txt:31 (include)


  CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:11 (add_subdirectory):
    add_subdirectory called with incorrect number of arguments
  Call Stack (most recent call first):
    F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
    CMakeLists.txt:31 (include)


  CMake Error at F:/React Native/Test/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:12 (add_subdirectory):
    add_subdirectory called with incorrect number of arguments
  Call Stack (most recent call first):
    F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
    CMakeLists.txt:31 (include)


  CMake Error at F:/React Native/Test/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:89 (target_link_libraries):
    Cannot specify link libraries for target
    "react_codegen_rngesturehandler_codegen" which is not built by this
    project.
  Call Stack (most recent call first):
    CMakeLists.txt:31 (include)
        at com.android.build.gradle.internal.cxx.process.ExecuteProcessKt.execute(ExecuteProcess.kt:288)
        at com.android.build.gradle.internal.cxx.process.ExecuteProcessKt$executeProcess$1.invoke(ExecuteProcess.kt:108)
        at com.android.build.gradle.internal.cxx.process.ExecuteProcessKt$executeProcess$1.invoke(ExecuteProcess.kt:106)
        at com.android.build.gradle.internal.cxx.timing.TimingEnvironmentKt.time(TimingEnvironment.kt:32)
        at com.android.build.gradle.internal.cxx.process.ExecuteProcessKt.executeProcess(ExecuteProcess.kt:106)
        at com.android.build.gradle.internal.cxx.process.ExecuteProcessKt.executeProcess$default(ExecuteProcess.kt:85)
        at com.android.build.gradle.tasks.CmakeQueryMetadataGenerator.executeProcess(CmakeFileApiMetadataGenerator.kt:59)
        at com.android.build.gradle.tasks.ExternalNativeJsonGenerator$configureOneAbi$1$1$3.invoke(ExternalNativeJsonGenerator.kt:247)
        at com.android.build.gradle.tasks.ExternalNativeJsonGenerator$configureOneAbi$1$1$3.invoke(ExternalNativeJsonGenerator.kt:247)
        at com.android.build.gradle.internal.cxx.timing.TimingEnvironmentKt.time(TimingEnvironment.kt:32)
        at com.android.build.gradle.tasks.ExternalNativeJsonGenerator.configureOneAbi(ExternalNativeJsonGenerator.kt:247)
        at com.android.build.gradle.tasks.ExternalNativeJsonGenerator.configure(ExternalNativeJsonGenerator.kt:113)
        at com.android.build.gradle.tasks.ExternalNativeBuildJsonTask.doTaskAction(ExternalNativeBuildJsonTask.kt:89)
        at com.android.build.gradle.internal.tasks.UnsafeOutputsTask$taskAction$$inlined$recordTaskAction$1.invoke(BaseTask.kt:66)
        at com.android.build.gradle.internal.tasks.Blocks.recordSpan(Blocks.java:51)
        at com.android.build.gradle.internal.tasks.UnsafeOutputsTask.taskAction(UnsafeOutputsTask.kt:81)
        at jdk.internal.reflect.GeneratedMethodAccessor594.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
        at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:244)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
        at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:229)
        at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:212)
        at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:195)
        at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:162)
        at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105)
        at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44)
        at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59)
        at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:56)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
        at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:42)
        at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:75)
        at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
        at org.gradle.internal.execution.steps.PreCreateOutputParentsStep.execute(PreCreateOutputParentsStep.java:50)
        at org.gradle.internal.execution.steps.PreCreateOutputParentsStep.execute(PreCreateOutputParentsStep.java:28)
        at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:67)
        at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:37)
        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:61)
        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:26)
        at org.gradle.internal.execution.steps.CaptureOutputsAfterExecutionStep.execute(CaptureOutputsAfterExecutionStep.java:69)
        at org.gradle.internal.execution.steps.CaptureOutputsAfterExecutionStep.execute(CaptureOutputsAfterExecutionStep.java:46)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:40)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:29)
        at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:189)
        at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75)
        at org.gradle.internal.Either$Right.fold(Either.java:175)
        at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:62)
        at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:73)
        at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48)
        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:46)
        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:35)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:75)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:53)
        at java.base/java.util.Optional.orElseGet(Optional.java:364)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:53)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:35)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
        at org.gradle.internal.execution.steps.ResolveIncrementalCachingStateStep.executeDelegate(ResolveIncrementalCachingStateStep.java:49)
        at org.gradle.internal.execution.steps.ResolveIncrementalCachingStateStep.executeDelegate(ResolveIncrementalCachingStateStep.java:27)
        at org.gradle.internal.execution.steps.AbstractResolveCachingStateStep.execute(AbstractResolveCachingStateStep.java:71)
        at org.gradle.internal.execution.steps.AbstractResolveCachingStateStep.execute(AbstractResolveCachingStateStep.java:39)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:65)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:36)
        at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:107)
        at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:56)
        at org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep.execute(AbstractCaptureStateBeforeExecutionStep.java:64)
        at org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep.execute(AbstractCaptureStateBeforeExecutionStep.java:43)
        at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.executeWithNonEmptySources(AbstractSkipEmptyWorkStep.java:125)
        at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.execute(AbstractSkipEmptyWorkStep.java:56)
        at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.execute(AbstractSkipEmptyWorkStep.java:36)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
        at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36)
        at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23)
        at org.gradle.internal.execution.steps.HandleStaleOutputsStep.execute(HandleStaleOutputsStep.java:75)
        at org.gradle.internal.execution.steps.HandleStaleOutputsStep.execute(HandleStaleOutputsStep.java:41)
        at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.lambda$execute$0(AssignMutableWorkspaceStep.java:35)
        at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:289)
        at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.execute(AssignMutableWorkspaceStep.java:31)
        at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.execute(AssignMutableWorkspaceStep.java:22)
        at org.gradle.internal.execution.steps.ChoosePipelineStep.execute(ChoosePipelineStep.java:40)
        at org.gradle.internal.execution.steps.ChoosePipelineStep.execute(ChoosePipelineStep.java:23)
        at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.lambda$execute$2(ExecuteWorkBuildOperationFiringStep.java:67)
        at java.base/java.util.Optional.orElseGet(Optional.java:364)
        at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:67)
        at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:39)
        at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:46)
        at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:34)
        at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:48)
        at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:35)
        at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:61)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:127)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:116)
        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)        
        at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:85)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:459)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:376)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
  Caused by: com.android.ide.common.process.ProcessException: Error while executing process E:\Android\SDK\cmake\3.22.1\bin\cmake.exe with arguments {-HF:\React Native\Test\node_modules\react-native\ReactAndroid\cmake-utils\default-app-setup -DCMAKE_SYSTEM_NAME=Android -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_SYSTEM_VERSION=24 -DANDROID_PLATFORM=android-24 -DANDROID_ABI=arm64-v8a -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DANDROID_NDK=E:\Android\SDK\ndk\26.1.10909125 -DCMAKE_ANDROID_NDK=E:\Android\SDK\ndk\26.1.10909125 -DCMAKE_TOOLCHAIN_FILE=E:\Android\SDK\ndk\26.1.10909125\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=E:\Android\SDK\cmake\3.22.1\bin\ninja.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=F:\React Native\Test\android\app\build\intermediates\cxx\Debug\241y5d5a\obj\arm64-v8a -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=F:\React Native\Test\android\app\build\intermediates\cxx\Debug\241y5d5a\obj\arm64-v8a -DCMAKE_BUILD_TYPE=Debug -DCMAKE_FIND_ROOT_PATH=F:\React Native\Test\android\app\.cxx\Debug\241y5d5a\prefab\arm64-v8a\prefab -BF:\React Native\Test\android\app\.cxx\Debug\241y5d5a\arm64-v8a -GNinja -DPROJECT_BUILD_DIR=F:\React Native\Test\android\app\build -DREACT_ANDROID_DIR=F:\React Native\Test\node_modules\react-native\ReactAndroid -DANDROID_STL=c++_shared -DANDROID_USE_LEGACY_TOOLCHAIN_FILE=ON}
        at com.android.build.gradle.internal.process.GradleProcessResult.buildProcessException(GradleProcessResult.java:73)
        at com.android.build.gradle.internal.process.GradleProcessResult.assertNormalExitValue(GradleProcessResult.java:48)
        at com.android.build.gradle.internal.cxx.process.ExecuteProcessKt.execute(ExecuteProcess.kt:277)
        ... 140 more
  Caused by: org.gradle.process.internal.ExecException: Process 'command 'E:\Android\SDK\cmake\3.22.1\bin\cmake.exe'' finished with non-zero exit value 1
        at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:442)
        at com.android.build.gradle.internal.process.GradleProcessResult.assertNormalExitValue(GradleProcessResult.java:46)
        ... 141 more

Reproducer

https://github.com/latuan2710/Test

Screenshots and Videos

No response

@latuan2710 latuan2710 added Needs: Triage 🔍 Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules) labels Nov 8, 2024
@react-native-bot react-native-bot added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Nov 8, 2024
@react-native-bot
Copy link
Collaborator

Warning

Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:

@muzammil1244
Copy link

"I am facing the same issue after enabling newArchEnabled=true, without installing any additional files."

errore:

[email protected] start
react-native start

(node:16176) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please d.
(Use node --trace-deprecation ... to show where the warning was created)
info Welcome to React Native v0.76
info Starting dev server on port 8081...

                    ▒▒▓▓▓▓▒▒
                 ▒▓▓▓▒▒░░▒▒▓▓▓▒
              ▒▓▓▓▓░░░▒▒▒▒░░░▓▓▓▓▒
             ▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▓▓
             ▓▓░░░░░▒▓▓▓▓▓▓▒░░░░░▓▓
             ▓▓░░▓▓▒░░░▒▒░░░▒▓▒░░▓▓
             ▓▓░░▓▓▓▓▓▒▒▒▒▓▓▓▓▒░░▓▓
             ▓▓░░▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░▓▓
             ▓▓▒░░▒▒▓▓▓▓▓▓▓▓▒░░░▒▓▓
              ▒▓▓▓▒░░░▒▓▓▒░░░▒▓▓▓▒
                 ▒▓▓▓▒░░░░▒▓▓▓▒
                    ▒▒▓▓▓▓▒▒


            Welcome to Metro v0.81.0
          Fast - Scalable - Integrated

info Dev server ready

i - run on iOS
a - run on Android
r - reload app
d - open Dev Menu
j - open DevTools

info Opening app on Android...
info A dev server is already running for this project on port 8081.
info Launching emulator...
info Successfully launched emulator.
info Installing the app...

Task :gradle-plugin:settings-plugin:checkKotlinGradlePluginConfigurationErrors
Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors
Task :gradle-plugin:shared:compileKotlin UP-TO-DATE
Task :gradle-plugin:shared:compileJava NO-SOURCE
Task :gradle-plugin:shared:processResources NO-SOURCE
Task :gradle-plugin:shared:classes UP-TO-DATE
Task :gradle-plugin:shared:jar UP-TO-DATE
Task :gradle-plugin:settings-plugin:compileKotlin UP-TO-DATE
Task :gradle-plugin:settings-plugin:compileJava NO-SOURCE
Task :gradle-plugin:settings-plugin:pluginDescriptors UP-TO-DATE
Task :gradle-plugin:settings-plugin:processResources UP-TO-DATE
Task :gradle-plugin:settings-plugin:classes UP-TO-DATE
Task :gradle-plugin:settings-plugin:jar UP-TO-DATE
Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationEr
Task :gradle-plugin:react-native-gradle-plugin:compileKotlin UP-TO-DATE
Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE
Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors UP-TO-DATE
Task :gradle-plugin:react-native-gradle-plugin:processResources UP-TO-DATE
Task :gradle-plugin:react-native-gradle-plugin:classes UP-TO-DATE
Task :gradle-plugin:react-native-gradle-plugin:jar UP-TO-DATE
Task :app:checkKotlinGradlePluginConfigurationErrors
Task :app:generateAutolinkingNewArchitectureFiles UP-TO-DATE
Task :app:generateAutolinkingPackageList UP-TO-DATE
Task :app:generateCodegenSchemaFromJavaScript SKIPPED
Task :app:generateCodegenArtifactsFromSchema SKIPPED
Task :app:preBuild UP-TO-DATE
Task :app:preDebugBuild UP-TO-DATE
Task :app:generateDebugBuildConfig UP-TO-DATE
Task :app:checkDebugAarMetadata UP-TO-DATE
Task :app:generateDebugResValues UP-TO-DATE
Task :app:mapDebugSourceSetPaths UP-TO-DATE
Task :app:generateDebugResources UP-TO-DATE
Task :app:mergeDebugResources UP-TO-DATE
Task :app:packageDebugResources UP-TO-DATE
Task :app:parseDebugLocalResources UP-TO-DATE
Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
Task :app:extractDeepLinksDebug UP-TO-DATE
Task :app:processDebugMainManifest UP-TO-DATE
Task :app:processDebugManifest UP-TO-DATE
Task :app:processDebugManifestForPackage UP-TO-DATE
Task :app:processDebugResources UP-TO-DATE
Task :app:compileDebugKotlin UP-TO-DATE
Task :app:javaPreCompileDebug UP-TO-DATE
Task :app:compileDebugJavaWithJavac UP-TO-DATE
Task :app:mergeDebugShaders UP-TO-DATE
Task :app:compileDebugShaders NO-SOURCE
Task :app:generateDebugAssets UP-TO-DATE
Task :app:mergeDebugAssets UP-TO-DATE
Task :app:compressDebugAssets UP-TO-DATE
Task :app:desugarDebugFileDependencies UP-TO-DATE
Task :app:dexBuilderDebug UP-TO-DATE
Task :app:mergeDebugGlobalSynthetics UP-TO-DATE
Task :app:processDebugJavaRes UP-TO-DATE
Task :app:mergeDebugJavaResource UP-TO-DATE
Task :app:checkDebugDuplicateClasses UP-TO-DATE
Task :app:mergeExtDexDebug UP-TO-DATE
Task :app:mergeLibDexDebug UP-TO-DATE
Task :app:mergeProjectDexDebug UP-TO-DATE
Task :app:configureCMakeDebug[arm64-v8a]

Task :app:buildCMakeDebug[arm64-v8a]
C/C++: ninja: Entering directory `C:\Users\admin\Desktop\react native\AwesomeProject\an64-v8a'
C/C++: C:\Users\admin\AppData\Local\Android\Sdk\ndk\25.2.9519653\toolchains\llvm\prebui --target=aarch64-none-linux-android24 --sysroot=C:/Users/admin/AppData/Local/Android/Svm/prebuilt/windows-x86_64/sysroot -Dappmodules_EXPORTS -I"C:/Users/admin/Desktop/reactes/react-native/ReactAndroid/cmake-utils/default-app-setup" -I"C:/Users/admin/Desktop/rd/app/build/generated/autolinking/src/main/jni" -isystem C:/Users/admin/.gradle/caches/ca2b26e9265bd49ab/transformed/fbjni-0.6.0/prefab/modules/fbjni/include -isystem C:/Usernsforms/53ca3ec166779873078450fc2e43b919/transformed/react-android-0.76.1-debug/prefab/sers/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919/transformeab/modules/reactnative/include -g -DANDROID -fdata-sections -ffunction-sections -funwin -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limr -Wno-error=cpp -fexceptions -frtti -std=c++20 -DLOG_TAG="ReactNative" -DFOLLY_NO_COles.dir/C_/Users/admin/Desktop/react_native/AwesomeProject/android/app/build/generated/ing.cpp.o -MF CMakeFiles\appmodules.dir\C_\Users\admin\Desktop\react_native\AwesomeProjutolinking\src\main\jni\autolinking.cpp.o.d -o CMakeFiles/appmodules.dir/C_/Users/adminect/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp.o -c "C:/UsersmeProject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp"
C/C++: In file included from C:/Users/admin/Desktop/react native/AwesomeProject/androidsrc/main/jni/autolinking.cpp:9:
C/C++: In file included from C:/Users/admin/Desktop/react native/AwesomeProject/androidsrc/main/jni/autolinking.h:15:
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componeniderRegistry.h:13:
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componenider.h:10:
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Com
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Pro
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Pro
C/C++: C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919-debug/prefab/modules/reactnative/include/react/utils/fnv1a.h:24:37: error: no type nam did you mean 'folly::Identity'?
C/C++: template
C/C++: ^~~~~
C/C++: C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919-debug/prefab/modules/reactnative/include/folly/Utility.h:339:7: note: 'folly::Identity
C/C++: using Identity = identity_fn;
C/C++: ^
C/C++: In file included from C:/Users/admin/Desktop/react native/AwesomeProject/androidsrc/main/jni/autolinking.cpp:9:
C/C++: In file included from C:/Users/admin/Desktop/react native/AwesomeProject/androidsrc/main/jni/autolinking.h:15:
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componeniderRegistry.h:13:
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componenider.h:10:
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Com
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Pro
C/C++: C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919-debug/prefab/modules/reactnative/include/react/renderer/core/RawProps.h:141:38: error:nal arguments
C/C++: { T::filterRawProps(rawProps) } -> std::same_as;
C/C++: ^
C/C++: 2 errors generated.
C/C++: C:\Users\admin\AppData\Local\Android\Sdk\ndk\25.2.9519653\toolchains\llvm\prebui --target=aarch64-none-linux-android24 --sysroot=C:/Users/admin/AppData/Local/Android/Svm/prebuilt/windows-x86_64/sysroot -Dappmodules_EXPORTS -I"C:/Users/admin/Desktop/reactes/react-native/ReactAndroid/cmake-utils/default-app-setup" -I"C:/Users/admin/Desktop/rd/app/build/generated/autolinking/src/main/jni" -isystem C:/Users/admin/.gradle/caches/ca2b26e9265bd49ab/transformed/fbjni-0.6.0/prefab/modules/fbjni/include -isystem C:/Usernsforms/53ca3ec166779873078450fc2e43b919/transformed/react-android-0.76.1-debug/prefab/sers/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919/transformeab/modules/reactnative/include -g -DANDROID -fdata-sections -ffunction-sections -funwin -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limr -Wno-error=cpp -fexceptions -frtti -std=c++20 -DLOG_TAG="ReactNative" -DFOLLY_NO_COles.dir/OnLoad.cpp.o -MF CMakeFiles\appmodules.dir\OnLoad.cpp.o.d -o CMakeFiles/appmodu/admin/Desktop/react native/AwesomeProject/node_modules/react-native/ReactAndroid/cmakepp"
C/C++: In file included from C:/Users/admin/Desktop/react native/AwesomeProject/node_momake-utils/default-app-setup/OnLoad.cpp:30:
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/DefaultComponentsRegist
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/fabric/ComponentF
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componenory.h:12:
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Com
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Pro
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Pro
C/C++: C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919-debug/prefab/modules/reactnative/include/react/utils/fnv1a.h:24:37: error: no type nam did you mean 'folly::Identity'?
C/C++: template
C/C++: ^~~~~
C/C++: C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919-debug/prefab/modules/reactnative/include/folly/Utility.h:339:7: note: 'folly::Identity
C/C++: using Identity = identity_fn;
C/C++: ^
C/C++: In file included from C:/Users/admin/Desktop/react native/AwesomeProject/node_momake-utils/default-app-setup/OnLoad.cpp:30:
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/DefaultComponentsRegist
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/fabric/ComponentF
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componenory.h:12:
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Com
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Pro
C/C++: C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919-debug/prefab/modules/reactnative/include/react/renderer/core/RawProps.h:141:38: error:nal arguments
C/C++: { T::filterRawProps(rawProps) } -> std::same_as;
C/C++: ^
C/C++: In file included from C:/Users/admin/Desktop/react native/AwesomeProject/node_momake-utils/default-app-setup/OnLoad.cpp:30:
C/C++: In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166d/react-android-0.76.1-debug/prefab/modules/reactnative/include/DefaultComponentsRegist
C/C++: C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919-debug/prefab/modules/reactnative/include/react/renderer/core/ConcreteComponentDescriptared identifier 'RawPropsFilterable'
C/C++: if constexpr (RawPropsFilterable) {
C/C++: ^
C/C++: 3 errors generated.

Task :app:buildCMakeDebug[arm64-v8a] FAILED
47 actionable tasks: 6 executed, 41 up-to-date

info 💡 Tip: Make sure that you have set up your development environment correctly, by
To read more about doctor command visit: https://github.com/react-native-community/cli/DME.md#doctor

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\eProject\android\app.cxx\Debug\1w2y2w71\arm64-v8a'
[0/2] Re-checking globbed directories...
[1/3] Building CXX object CMakeFiles/appmodules.dir/C_/Users/admin/Desktop/react_natild/generated/autolinking/src/main/jni/autolinking.cpp.o
FAILED: CMakeFiles/appmodules.dir/C_/Users/admin/Desktop/react_native/AwesomeProject/inking/src/main/jni/autolinking.cpp.o
C:\Users\admin\AppData\Local\Android\Sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\wirget=aarch64-none-linux-android24 --sysroot=C:/Users/admin/AppData/Local/Android/Sdk/ndebuilt/windows-x86_64/sysroot -Dappmodules_EXPORTS -I"C:/Users/admin/Desktop/react natiact-native/ReactAndroid/cmake-utils/default-app-setup" -I"C:/Users/admin/Desktop/react /build/generated/autolinking/src/main/jni" -isystem C:/Users/admin/.gradle/caches/8.10.6e9265bd49ab/transformed/fbjni-0.6.0/prefab/modules/fbjni/include -isystem C:/Users/admms/53ca3ec166779873078450fc2e43b919/transformed/react-android-0.76.1-debug/prefab/moduladmin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919/transformed/readules/reactnative/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tabcanonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limit-deo-error=cpp -fexceptions -frtti -std=c++20 -DLOG_TAG="ReactNative" -DFOLLY_NO_CONFIG=ir/C_/Users/admin/Desktop/react_native/AwesomeProject/android/app/build/generated/autolpp.o -MF CMakeFiles\appmodules.dir\C_\Users\admin\Desktop\react_native\AwesomeProject\anking\src\main\jni\autolinking.cpp.o.d -o CMakeFiles/appmodules.dir/C_/Users/admin/Deskndroid/app/build/generated/autolinking/src/main/jni/autolinking.cpp.o -c "C:/Users/admiject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp"
In file included from C:/Users/admin/Desktop/react native/AwesomeProject/android/app/ain/jni/autolinking.cpp:9:
In file included from C:/Users/admin/Desktop/react native/AwesomeProject/android/app/ain/jni/autolinking.h:15:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componentregiegistry.h:13:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componentregih:10:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Componen
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Props.h:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/PropsMac
C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919/trang/prefab/modules/reactnative/include/react/utils/fnv1a.h:24:37: error: no type named 'i
you mean 'folly::Identity'?
template
^~~~~
C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919/trang/prefab/modules/reactnative/include/folly/Utility.h:339:7: note: 'folly::Identity' dec
using Identity = identity_fn;
^
In file included from C:/Users/admin/Desktop/react native/AwesomeProject/android/app/ain/jni/autolinking.cpp:9:
In file included from C:/Users/admin/Desktop/react native/AwesomeProject/android/app/ain/jni/autolinking.h:15:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componentregiegistry.h:13:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componentregih:10:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Componen
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Props.h:
C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919/trang/prefab/modules/reactnative/include/react/renderer/core/RawProps.h:141:38: error: experguments
{ T::filterRawProps(rawProps) } -> std::same_as;
^
2 errors generated.
[2/3] Building CXX object CMakeFiles/appmodules.dir/OnLoad.cpp.o
FAILED: CMakeFiles/appmodules.dir/OnLoad.cpp.o
C:\Users\admin\AppData\Local\Android\Sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\wirget=aarch64-none-linux-android24 --sysroot=C:/Users/admin/AppData/Local/Android/Sdk/ndebuilt/windows-x86_64/sysroot -Dappmodules_EXPORTS -I"C:/Users/admin/Desktop/react natiact-native/ReactAndroid/cmake-utils/default-app-setup" -I"C:/Users/admin/Desktop/react /build/generated/autolinking/src/main/jni" -isystem C:/Users/admin/.gradle/caches/8.10.6e9265bd49ab/transformed/fbjni-0.6.0/prefab/modules/fbjni/include -isystem C:/Users/admms/53ca3ec166779873078450fc2e43b919/transformed/react-android-0.76.1-debug/prefab/moduladmin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919/transformed/readules/reactnative/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tabcanonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limit-deo-error=cpp -fexceptions -frtti -std=c++20 -DLOG_TAG="ReactNative" -DFOLLY_NO_CONFIG=ir/OnLoad.cpp.o -MF CMakeFiles\appmodules.dir\OnLoad.cpp.o.d -o CMakeFiles/appmodules.dn/Desktop/react native/AwesomeProject/node_modules/react-native/ReactAndroid/cmake-util
In file included from C:/Users/admin/Desktop/react native/AwesomeProject/node_modulesutils/default-app-setup/OnLoad.cpp:30:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/DefaultComponentsRegistry.h:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/fabric/ComponentFactor
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componentregi:12:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Componen
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Props.h:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/PropsMac
C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919/trang/prefab/modules/reactnative/include/react/utils/fnv1a.h:24:37: error: no type named 'i
you mean 'folly::Identity'?
template
^~~~~
C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919/trang/prefab/modules/reactnative/include/folly/Utility.h:339:7: note: 'folly::Identity' dec
using Identity = identity_fn;
^
In file included from C:/Users/admin/Desktop/react native/AwesomeProject/node_modulesutils/default-app-setup/OnLoad.cpp:30:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/DefaultComponentsRegistry.h:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/fabric/ComponentFactor
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/componentregi:12:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Componen
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/react/renderer/core/Props.h:
C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919/trang/prefab/modules/reactnative/include/react/renderer/core/RawProps.h:141:38: error: experguments
{ T::filterRawProps(rawProps) } -> std::same_as;
^
In file included from C:/Users/admin/Desktop/react native/AwesomeProject/node_modulesutils/default-app-setup/OnLoad.cpp:30:
In file included from C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec16677987ct-android-0.76.1-debug/prefab/modules/reactnative/include/DefaultComponentsRegistry.h:
C:/Users/admin/.gradle/caches/8.10.2/transforms/53ca3ec166779873078450fc2e43b919/trang/prefab/modules/reactnative/include/react/renderer/core/ConcreteComponentDescriptor.h:
identifier 'RawPropsFilterable'
if constexpr (RawPropsFilterable) {
^
3 errors generated.
ninja: build stopped: subcommand failed.

C++ build system [build] failed while executing:
@echo off
"C:\Users\admin\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^
-C ^
"C:\Users\admin\Desktop\react native\AwesomeProject\android\app\.cxx\D
appmodules
from C:\Users\admin\Desktop\react native\AwesomeProject\android\app

  • Try: .

  • Try:

  • Try:

  • Try:

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 48s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Resolution: Duplicate Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules)
Projects
None yet
Development

No branches or pull requests

4 participants