Closed aleluiah closed 1 year ago
@rayhk6 not yet , it could be a bug I guess so I just disabled the new arch for the moment
Same issue using react-native@0.70.0
/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/bin/Release/hermesc.exe', needed by 'lib/InternalBytecode/InternalBytecode.hbc', missing and no known rule to make it
Same issue using react-native@0.70.1 new project
cannot find ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/CMakeFiles/turbomodulejsijni.dir/ReactCommon/CompositeTurboModuleManagerDelegate.cpp.o: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Nothing has changed 🤷 Still get the missing rule error with Version 0.70.1
hermesc.exe
is built in Debug folder. but the build looking for it in Release folder.
/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/bin/Release/hermesc.exe'
I copied manually from Debug to Release and passed that error.
Then later got this error:
CMake Error at D:/Projects/calcapp/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:25 (add_library):
Syntax error in cmake code when parsing string
D:\Projects\calcapp\android\app\build/generated/rncli/src/main/jni/rncli.cpp
Invalid character escape '\P'.
Call Stack (most recent call first):
CMakeLists.txt:7 (include)
I use rn 0.70.1 and visual studio 2022 CMD and this looks like related to slashes behaving different in in windows and unix.
CMake Error at D:/myproject/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:25 (add_library):
Syntax error in cmake code when parsing string
D:\myproject\android\app\build/generated/rncli/src/main/jni/rncli.cpp
Invalid character escape '\m'.
Call Stack (most recent call first):
CMakeLists.txt:7 (include)
I was encountering the same issue as https://github.com/facebook/react-native/issues/34084#issuecomment-1253767539 with the same setup, which is the same as https://github.com/facebook/react-native/issues/34084#issuecomment-1255355730
I managed to reach this step either by compiling the hermes project manually as release in VS2022 or by copying the debug exe to the release folder. This is the first issue that required a workaround.
I also installed the ICU libraries, because it kept saying that data
was missing, but I'm not sure if that had any impact on the solution, because the output still says Failed to find all ICU components (missing: ICU_INCLUDE_DIR) (Required is at least version "52")
.
The second issue was a syntax issue, in this block in node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake
file(GLOB input_SRC CONFIGURE_DEPENDS
*.cpp
C:/dev/rn3/android/app/build/generated/rncli/src/main/jni/*.cpp)
# ${PROJECT_BUILD_DIR}/generated/rncli/src/main/jni/*.cpp)
add_library(${CMAKE_PROJECT_NAME} SHARED ${input_SRC})
For some reason, add_library is not liking mixed directory separators, and is interpreting the backslash from the windows style directory separator as an escape character. By manually typing the path as above, I managed to bypass the problem.
The following CMAKE_PATH path transformation looks like it would resolve the issue, but it requires a newer version of CMake than the required one in the file, 3.24 instead of 3.13. https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html#path-transformations
The proper fix for windows would be to not mix slashes and backslashes when generating the file list.
I was encountering the same issue as #34084 (comment) with the same setup, which is the same as #34084 (comment)
The issue might go away if you follow the instructions exactly, i.e. by using "Visual Studio Community Edition". This is because the community edition comes up with barebone build tools, which makes CMake use "NMake Makefile" as the generator. A beefier Visual Studio installation changes the default CMake generator to "MSbuild" which is a multi-configuration generator, where the build flavor needs to be explicitly specified.
One fix would be to force CMake to use "NMake Makefiles" as the generator on Windows.
The issue might go away if you follow the instructions exactly, i.e. by using "Visual Studio Community Edition".
I am on the Community Edition and experiencing the issue. That said, something is clearly not great in the script if the solution would have been to make the users uninstall Visual Studio for it to work. I noticed that there were some flags to specify the build flavour in the script. Not sure if one of them is being set incorrectly.
For the record, the same issue with mixed directory separators also affected me when trying to add a new fabric native component. I worked around it by editing the gradle file in \@react-native-android to replace \\\\ by /
if OS is windows and it was fine after that. Not sure I'd want to PR that, as it's a very hacky place to be doing that kind of editing...
Would this also be due to the generator being MSbuild?
One fix would be to force CMake to use "NMake Makefiles" as the generator on Windows.
I'm willing to try this. Do you know any way to make it so, even manually?
I've created a couple of PRs : https://github.com/facebook/react-native/pull/34790 https://github.com/facebook/react-native/pull/34791
@therafi Could you please try these?
The PRs fixed hermes and character scape errors for me. great work.
But later I got the character scape error for react-native-gesture-handler:
CMake Error at D:/Projects/calcapp/android/app/build/generated/rncli/src/main/jni/Android-rncli.cmake:6 (add_subdirectory):
Syntax error in cmake code at
D:/Projects/calcapp/android/app/build/generated/rncli/src/main/jni/Android-rncli.cmake:6
when parsing string
D:\Projects\calcapp\node_modules\react-native-gesture-handler\android\build\generated\source\codegen\jni\ rngesturehandler_autolinked_build
Invalid character escape '\P'.
Call Stack (most recent call first):
D:/Projects/calcapp/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:59 (include)
CMakeLists.txt:7 (include)
Android-rncli.cmake
file:
# This code was generated by [React Native CLI](https://www.npmjs.com/package/@react-native-community/cli)
cmake_minimum_required(VERSION 3.13)
set(CMAKE_VERBOSE_MAKEFILE on)
add_subdirectory(D:\Projects\calcapp\node_modules\react-native-gesture-handler\android\build\generated\source\codegen\jni\ rngesturehandler_autolinked_build)
set(AUTOLINKED_LIBRARIES
react_codegen_rngesturehandler
)
I did workaround this error using the react-native.config.js at my project root:
module.exports = {
dependencies: {
"react-native-gesture-handler": {
platforms: {
// iOS specific properties go here
ios: {},
// Android specific properties go here
android: {
cmakeListsPath:
'D:/Projects/calcapp/node_modules/react-native-gesture-handler/android/build/generated/source/codegen/jni/',
},
},
},
},
};
Then later got a different error for react-native-reanimated, which fixed by updating to 3.0.0-rc.3
.
And finally managed to get a successful build. 🎉 Ran on emulator with no errors.
This was a debug build usign yarn android
, But when building release using gradlew assembleRelease
I got this error:
D:\Android\Sdk\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android-ar.exe: ReactCommon/react/renderer/components/progressbar/CMakeFiles/rrc_progressbar.dir/android/react/renderer/components/progressbar/AndroidProgressBarMeasurementsManager.cpp.o: No such file or directory
[342/345] Linking CXX static library ReactCommon\react\renderer\components\modal\librrc_modal.a
[343/345] Linking CXX static library ReactCommon\react\renderer\components\switch\librrc_switch.a
[344/345] Linking CXX static library ReactCommon\react\renderer\components\slider\librrc_slider.a
ninja: build stopped: subcommand failed
No such file or directory
error.> Task :ReactAndroid:configureCMakeRelWithDebInfo[armeabi-v7a]
C/C++: release|armeabi-v7a :CMake Warning in D:/myproject/node_modules/react-native/ReactCommon/react/renderer/components/progressbar/CMakeLists.txt:
C/C++: release|armeabi-v7a : The object file directory
C/C++: release|armeabi-v7a : D:/myproject/node_modules/react-native/ReactAndroid/.cxx/RelWithDebInfo/3x4m296k/armeabi-v7a/ReactCommon/react/renderer/components/progressbar/CMakeFiles/rrc_progressbar.dir/./
C/C++: release|armeabi-v7a : has 176 characters. The maximum full path to an object file is 250
C/C++: release|armeabi-v7a : characters (see CMAKE_OBJECT_PATH_MAX). Object file
C/C++: release|armeabi-v7a : android/react/renderer/components/progressbar/AndroidProgressBarMeasurementsManager.cpp.o
C/C++: release|armeabi-v7a : cannot be safely placed under this directory. The build may not work
C/C++: release|armeabi-v7a : correctly.
@alabsi91 the error is in the text: the file path is too deep. This is a Windows limitation. Try putting your dev folder closer to the root.
@therafi I have my dev folder right here D:/myproject
isn't that enough ?? Should I put it in the c:/
drive ?
@alabsi91 You could try this https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry
@alabsi91 Don't waste time as the windows registry fix is an undocumented key and sadly no longer works!!! https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry
What worked for me was shortening the project folder name down to just one character. e.g. D:/a . This is a silly windows bug but has been around for more than ten years. Compiler Software unaware of the key will continue to enforce the 250 char limit to prevent system damage. You could try compiling within the linux environment using WSL.
Windows already can handle long file names but it requires the apps to opt into it by prefixing the file paths with a special sequence and by avoiding certain old APIs. Android ndk21 still uses the old binutils distribution whose 'ar' utility still can't support long file paths. We will be in much better shape once we upgrade to ndk23.
I fixed the The maximum full path
issue by following the instructions here.
D:/project/node_modules/react-native/ReactCommon/yoga/yoga/CompactValue.h:177:41: error: static_assert with no message is a C++17 extension [-Werror,-Wc++17-extensions]
static_assert(sizeof(f) == sizeof(u));
^
, ""
@alabsi91 Are you on main or 0.70-stable ? Could you share full log ?
The error might be related to this commit: https://github.com/facebook/react-native/commit/e7a8d21df563e48e1812caace7fbe1f7cbc1c015
I've created a couple of PRs : #34790 #34791
@therafi Could you please try these?
I can confirm that these worked. Thanks!
@mganandraj I'm noticing that your PR failed due to some unrelated error during the automated tests.
It might help someone to know that I did initially receive this error when I had tried to do a yarn android from on a fresh init without these changes.
CMake Error: Error: generator : NMake Makefiles
Does not match the generator used previously: Visual Studio 16 2019
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
But it's all good when clean.
Note that I just applied your diffs on my current code when testing and didn't go through the trouble of checking out the exact PR.
@mganandraj I'm using "react-native": "0.70.1"
in a newly created project.
.\gradlew assembleRelease
inside the Developer Command Prompt for VS 2022
to share the full log and for some reason I was getting a different error now same as hereCould you share your Podfile ? Thanks
On Mon, 5 Sep 2022 at 9:58 PM, Aziz Mobarak @.***> wrote:
@rayhk6 https://github.com/rayhk6 not yet , it could be a bug I guess so I just disabled the new arch for the moment
— Reply to this email directly, view it on GitHub https://github.com/facebook/react-native/issues/34084#issuecomment-1237079027, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHBIIT7GJLQTGRLLH4DNQDV4X4BXANCNFSM5Z7TUX4A . You are receiving this because you were mentioned.Message ID: @.***>
Just a heads up that this was fixed in RN 0.70.3. Please update and report if you still have the problems.
We're also looking into simplifying the setup for Windows on RN 0.71 so you won't face those problems anymore in the future.
> Task :ReactAndroid:buildCMakeRelWithDebInfo[arm64-v8a][fabricjni,hermes-executor-release,etc] FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':ReactAndroid:buildCMakeRelWithDebInfo[arm64-v8a][fabricjni,hermes-executor-release,etc]'.
> Build command failed.
Error while executing process C:\Users\alabs\AppData\Local\Android\Sdk\cmake\3.18.1\bin\ninja.exe with arguments {-C D:\AwesomeProject\node_modules\react-native\ReactAndroid\.cxx\RelWithDebInfo\2w506u4s\arm64-v8a fabricjni hermes-executor-release jscexecutor jsijniprofiler reactnativeblob reactnativejni reactperfloggerjni turbomodulejsijni}
ninja: Entering directory `D:\AwesomeProject\node_modules\react-native\ReactAndroid\.cxx\RelWithDebInfo\2w506u4s\arm64-v8a'
[0/2] Re-checking globbed directories...
[1/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/system/ThreadId.cpp.o
[2/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/memory/detail/MallocImpl.cpp.o
[3/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/lang/ToAscii.cpp.o
[4/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/lang/SafeAssert.cpp.o
[5/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/synchronization/ParkingLot.cpp.o
[6/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/system/ThreadName.cpp.o
[7/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/Demangle.cpp.o
[8/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/detail/Futex.cpp.o
[9/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/Unicode.cpp.o
[10/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/portability/SysUio.cpp.o
[11/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/lang/CString.cpp.o
[12/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/hash/SpookyHashV2.cpp.o
[13/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/SharedMutex.cpp.o
[14/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/FileUtil.cpp.o
[15/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/net/NetOps.cpp.o
[16/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/Conv.cpp.o
[17/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/YGValue.cpp.o
[18/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/log.cpp.o
[19/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/detail/UniqueInstance.cpp.o
[20/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/event/event.cpp.o
[21/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/internal/experiments.cpp.o
[22/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/YGEnums.cpp.o
[23/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/ScopeGuard.cpp.o
[24/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/YGNodePrint.cpp.o
[25/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/YGStyle.cpp.o
[26/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/container/detail/F14Table.cpp.o
[27/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/String.cpp.o
[28/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/YGConfig.cpp.o
[29/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/json_pointer.cpp.o
[30/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/YGLayout.cpp.o
[31/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/Utils.cpp.o
[32/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/JSBundleType.cpp.o
[33/345] Building CXX object ReactCommon/reactperflogger/CMakeFiles/reactperflogger.dir/reactperflogger/BridgeNativeModulePerfLogger.cpp.o
[34/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/Format.cpp.o
[35/345] Linking CXX static library ReactCommon\reactperflogger\libreactperflogger.a
[36/345] Building CXX object ReactCommon/logger/CMakeFiles/logger.dir/react_native_log.cpp.o
[37/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/YGNode.cpp.o
[38/345] Building CXX object ReactCommon/yoga/CMakeFiles/yogacore.dir/yoga/Yoga.cpp.o
[39/345] Linking CXX static library ReactCommon\yoga\libyogacore.a
[40/345] Building CXX object ReactCommon/jsiexecutor/CMakeFiles/jsireact.dir/jsireact/JSINativeModules.cpp.o
[41/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/JSExecutor.cpp.o
[42/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/dynamic.cpp.o
[43/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/ReactMarker.cpp.o
[44/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/JSBigString.cpp.o
[45/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/RAMBundleRegistry.cpp.o
[46/345] Building CXX object ReactCommon/jsi/CMakeFiles/jsi.dir/jsi/jsilib-windows.cpp.o
[47/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/Instance.cpp.o
[48/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/json.cpp.o
[49/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/MethodCall.cpp.o
[50/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/JSIndexedRAMBundle.cpp.o
[51/345] Building CXX object ReactCommon/jsi/CMakeFiles/jsi.dir/jsi/jsilib-posix.cpp.o
[52/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/ModuleRegistry.cpp.o
[53/345] Building CXX object ReactCommon/hermes/executor/CMakeFiles/hermes-executor-common.dir/JSITracing.cpp.o
[54/345] Building CXX object build/third-party-ndk/folly/CMakeFiles/folly_runtime.dir/folly/concurrency/CacheLocality.cpp.o
[55/345] Building CXX object ReactCommon/react/config/CMakeFiles/react_config.dir/ReactNativeConfig.cpp.o
[56/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/CxxNativeModule.cpp.o
[57/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_config.so
[58/345] Building CXX object ReactCommon/jsi/CMakeFiles/jsi.dir/jsi/jsi.cpp.o
[59/345] Building CXX object ReactCommon/jsiexecutor/CMakeFiles/jsireact.dir/jsireact/JSIExecutor.cpp.o
[60/345] Building CXX object ReactCommon/react/debug/CMakeFiles/react_debug.dir/react_native_assert.cpp.o
[61/345] Building CXX object ReactCommon/jsinspector/CMakeFiles/jsinspector.dir/InspectorInterfaces.cpp.o
[62/345] Building CXX object ReactCommon/react/renderer/runtimescheduler/CMakeFiles/react_render_runtimescheduler.dir/RuntimeSchedulerCallInvoker.cpp.o
[63/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libjsinspector.so
[64/345] Building CXX object ReactCommon/react/renderer/runtimescheduler/CMakeFiles/react_render_runtimescheduler.dir/Task.cpp.o
[65/345] Building CXX object ReactCommon/jsi/CMakeFiles/jscruntime.dir/JSCRuntime.cpp.o
[66/345] Building CXX object ReactCommon/jsi/CMakeFiles/jsi.dir/jsi/JSIDynamic.cpp.o
[67/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/EventBeat.cpp.o
[68/345] Building CXX object ReactCommon/react/renderer/runtimescheduler/CMakeFiles/react_render_runtimescheduler.dir/RuntimeScheduler.cpp.o
[69/345] Building CXX object ReactCommon/hermes/executor/CMakeFiles/hermes-executor-common.dir/HermesExecutorFactory.cpp.o
[70/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/NativeToJsBridge.cpp.o
[71/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/ShadowViewMutation.cpp.o
[72/345] Building CXX object ReactCommon/react/renderer/runtimescheduler/CMakeFiles/react_render_runtimescheduler.dir/RuntimeSchedulerBinding.cpp.o
[73/345] Building CXX object ReactCommon/react/renderer/animations/CMakeFiles/react_render_animations.dir/LayoutAnimationDriver.cpp.o
[74/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/ShadowView.cpp.o
[75/345] Building CXX object ReactCommon/react/renderer/componentregistry/CMakeFiles/react_render_componentregistry.dir/componentNameByReactViewName.cpp.o
[76/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/TelemetryController.cpp.o
[77/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/StubView.cpp.o
[78/345] Building CXX object ReactCommon/cxxreact/CMakeFiles/reactnative.dir/SampleCxxModule.cpp.o
[79/345] Building CXX object ReactCommon/react/renderer/animations/CMakeFiles/react_render_animations.dir/utils.cpp.o
[80/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/StubViewTree.cpp.o
[81/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/stubs.cpp.o
[82/345] Building CXX object ReactCommon/react/renderer/attributedstring/CMakeFiles/react_render_attributedstring.dir/ParagraphAttributes.cpp.o
[83/345] Building CXX object ReactCommon/react/renderer/attributedstring/CMakeFiles/react_render_attributedstring.dir/AttributedStringBox.cpp.o
[84/345] Building CXX object ReactCommon/react/renderer/attributedstring/CMakeFiles/react_render_attributedstring.dir/AttributedString.cpp.o
[85/345] Building CXX object ReactCommon/react/renderer/attributedstring/CMakeFiles/react_render_attributedstring.dir/TextAttributes.cpp.o
[86/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/MountingTransaction.cpp.o
[87/345] Building CXX object ReactCommon/react/renderer/componentregistry/CMakeFiles/react_render_componentregistry.dir/ComponentDescriptorProviderRegistry.cpp.o
[88/345] Building CXX object ReactCommon/react/renderer/componentregistry/CMakeFiles/react_render_componentregistry.dir/ComponentDescriptorRegistry.cpp.o
[89/345] Building CXX object ReactCommon/react/renderer/animations/CMakeFiles/react_render_animations.dir/LayoutAnimationKeyFrameManager.cpp.o
[90/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/MountingCoordinator.cpp.o
[91/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/ShadowTreeRevision.cpp.o
[92/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/JReactCxxErrorHandler.cpp.o
[93/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/ShadowTreeRegistry.cpp.o
[94/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/JReactMarker.cpp.o
[95/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/AsyncEventBeat.cpp.o
[96/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/JReactSoftExceptionLogger.cpp.o
[97/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/JInspector.cpp.o
[98/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/JSLogging.cpp.o
[99/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/JMessageQueueThread.cpp.o
[100/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/CxxModuleWrapper.cpp.o
[101/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/JRuntimeExecutor.cpp.o
[102/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/Differentiator.cpp.o
[103/345] Building CXX object ReactCommon/react/renderer/mounting/CMakeFiles/react_render_mounting.dir/ShadowTree.cpp.o
[104/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/NativeTime.cpp.o
[105/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/JRuntimeScheduler.cpp.o
[106/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/ComponentFactory.cpp.o
[107/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/JniJSModulesUnbundle.cpp.o
[108/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/JSLoader.cpp.o
[109/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/NativeArray.cpp.o
[110/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/JavaModuleWrapper.cpp.o
[111/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/MethodInvoker.cpp.o
[112/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/NativeMap.cpp.o
[113/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/NativeCommon.cpp.o
[114/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/EventBeatManager.cpp.o
[115/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/WritableNativeArray.cpp.o
[116/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/OnLoad.cpp.o
[117/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/reactperflogger/jni/CMakeFiles/reactperfloggerjni.dir/reactperflogger/OnLoad.cpp.o
[118/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/CMakeFiles/callinvokerholder.dir/ReactCommon/CallInvokerHolder.cpp.o
[119/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/ReadableNativeMap.cpp.o
[120/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/Binding.cpp.o
[121/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/ProxyExecutor.cpp.o
[122/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/ModuleRegistryBuilder.cpp.o
[123/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/ReadableNativeArray.cpp.o
[124/345] Building CXX object build/third-party-ndk/glog/CMakeFiles/glog.dir/glog-0.3.5/src/signalhandler.cc.o
[125/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/WritableNativeMap.cpp.o
[126/345] Building CXX object build/third-party-ndk/glog/CMakeFiles/glog.dir/glog-0.3.5/src/vlog_is_on.cc.o
[127/345] Building ASM object build/third-party-ndk/boost/CMakeFiles/boost.dir/asm/arm64-v8a/ontop_arm64_aapcs_elf_gas.S.o
[128/345] Building ASM object build/third-party-ndk/boost/CMakeFiles/boost.dir/asm/arm64-v8a/make_arm64_aapcs_elf_gas.S.o
[129/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/jni/CMakeFiles/mapbufferjni.dir/react/common/mapbuffer/OnLoad.cpp.o
[130/345] Building ASM object build/third-party-ndk/boost/CMakeFiles/boost.dir/asm/arm64-v8a/jump_arm64_aapcs_elf_gas.S.o
[131/345] Building CXX object build/third-party-ndk/glog/CMakeFiles/glog.dir/glog-0.3.5/src/utilities.cc.o
[132/345] Building CXX object build/third-party-ndk/double-conversion/CMakeFiles/double-conversion.dir/double-conversion/cached-powers.cc.o
[133/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/jni/CMakeFiles/mapbufferjni.dir/react/common/mapbuffer/JReadableMapBuffer.cpp.o
[134/345] Building CXX object build/third-party-ndk/double-conversion/CMakeFiles/double-conversion.dir/double-conversion/diy-fp.cc.o
[135/345] Building CXX object build/third-party-ndk/glog/CMakeFiles/glog.dir/glog-0.3.5/src/symbolize.cc.o
[136/345] Building CXX object build/third-party-ndk/double-conversion/CMakeFiles/double-conversion.dir/double-conversion/bignum-dtoa.cc.o
[137/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/jni/CMakeFiles/mapbufferjni.dir/react/common/mapbuffer/JWritableMapBuffer.cpp.o
[138/345] Building CXX object build/third-party-ndk/double-conversion/CMakeFiles/double-conversion.dir/double-conversion/bignum.cc.o
[139/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/CMakeFiles/turbomodulejsijni.dir/ReactCommon/CompositeTurboModuleManagerDelegate.cpp.o
[140/345] Linking CXX static library build\third-party-ndk\boost\libboost.a
[141/345] Building CXX object build/third-party-ndk/double-conversion/CMakeFiles/double-conversion.dir/double-conversion/fixed-dtoa.cc.o
[142/345] Building CXX object build/third-party-ndk/double-conversion/CMakeFiles/double-conversion.dir/double-conversion/strtod.cc.o
[143/345] Building CXX object build/third-party-ndk/double-conversion/CMakeFiles/double-conversion.dir/double-conversion/fast-dtoa.cc.o
[144/345] Building CXX object build/third-party-ndk/double-conversion/CMakeFiles/double-conversion.dir/double-conversion/double-conversion.cc.o
[145/345] Linking CXX static library build\third-party-ndk\double-conversion\libdouble-conversion.a
[146/345] Building CXX object build/third-party-ndk/glog/CMakeFiles/glog.dir/glog-0.3.5/src/raw_logging.cc.o
[147/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/jscexecutor/CMakeFiles/jscexecutor.dir/OnLoad.cpp.o
[148/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/CMakeFiles/turbomodulejsijni.dir/ReactCommon/OnLoad.cpp.o
[149/345] Building CXX object build/third-party-ndk/glog/CMakeFiles/glog.dir/glog-0.3.5/src/demangle.cc.o
[150/345] Building CXX object ReactAndroid/src/main/java/com/facebook/hermes/instrumentation/CMakeFiles/jsijniprofiler.dir/OnLoad.cpp.o
[151/345] Building CXX object build/third-party-ndk/glog/CMakeFiles/glog.dir/glog-0.3.5/src/logging.cc.o
[152/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/ReactNativeConfigHolder.cpp.o
[153/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/modules/blob/jni/CMakeFiles/reactnativeblob.dir/BlobCollector.cpp.o
[154/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libglog.so
[155/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/CMakeFiles/turbomodulejsijni.dir/ReactCommon/TurboModuleManager.cpp.o
[156/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\liblogger.so
[157/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/StateWrapperImpl.cpp.o
[158/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/JBackgroundExecutor.cpp.o
[159/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/FabricMountItem.cpp.o
[160/345] Building CXX object ReactAndroid/src/main/java/com/facebook/hermes/instrumentation/CMakeFiles/jsijniprofiler.dir/HermesSamplingProfiler.cpp.o
[161/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/modules/blob/jni/CMakeFiles/reactnativeblob.dir/OnLoad.cpp.o
[162/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/OnLoad.cpp.o
[163/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/JFabricUIManager.cpp.o
[164/345] Building CXX object ReactCommon/react/renderer/telemetry/CMakeFiles/react_render_telemetry.dir/SurfaceTelemetry.cpp.o
[165/345] Building CXX object ReactCommon/react/renderer/telemetry/CMakeFiles/react_render_telemetry.dir/TransactionTelemetry.cpp.o
[166/345] Building CXX object ReactCommon/react/renderer/scheduler/CMakeFiles/react_render_scheduler.dir/AsynchronousEventBeat.cpp.o
[167/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/SurfaceHandlerBinding.cpp.o
[168/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/DynamicPropsUtilities.cpp.o
[169/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/ComponentDescriptor.cpp.o
[170/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/BatchedEventQueue.cpp.o
[171/345] Building CXX object ReactCommon/react/renderer/scheduler/CMakeFiles/react_render_scheduler.dir/SynchronousEventBeat.cpp.o
[172/345] Building CXX object ReactCommon/react/renderer/uimanager/CMakeFiles/react_render_uimanager.dir/bindingUtils.cpp.o
[173/345] Building CXX object ReactCommon/react/renderer/scheduler/CMakeFiles/react_render_scheduler.dir/SchedulerToolbox.cpp.o
[174/345] Building CXX object ReactCommon/react/renderer/scheduler/CMakeFiles/react_render_scheduler.dir/SurfaceManager.cpp.o
[175/345] Building CXX object ReactCommon/react/renderer/uimanager/CMakeFiles/react_render_uimanager.dir/SurfaceRegistryBinding.cpp.o
[176/345] Building CXX object ReactCommon/react/renderer/scheduler/CMakeFiles/react_render_scheduler.dir/SurfaceHandler.cpp.o
[177/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/FabricMountingManager.cpp.o
[178/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/EventTarget.cpp.o
[179/345] Building CXX object ReactCommon/react/renderer/components/switch/CMakeFiles/rrc_switch.dir/b411b697ec3d304a2e36061411fbb402/AndroidSwitchMeasurementsManager.cpp.o
[180/345] Building CXX object ReactCommon/react/renderer/templateprocessor/CMakeFiles/react_render_templateprocessor.dir/UITemplateProcessor.cpp.o
[181/345] Building CXX object ReactCommon/react/renderer/components/switch/CMakeFiles/rrc_switch.dir/c5f66b7ece4ff89b14bb0673873f572f/androidswitch/AndroidSwitchShadowNode.cpp.o
[182/345] Building CXX object build/third-party-ndk/fmt/CMakeFiles/fmt.dir/src/format.cc.o
[183/345] Linking CXX static library build\third-party-ndk\fmt\libfmt.a
[184/345] Building CXX object ReactCommon/react/renderer/components/view/CMakeFiles/rrc_view.dir/YogaLayoutableShadowNode.cpp.o
[185/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/EventListener.cpp.o
[186/345] Building CXX object ReactCommon/react/renderer/components/view/CMakeFiles/rrc_view.dir/YogaStylableProps.cpp.o
[187/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libfolly_runtime.so
[188/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/EventDispatcher.cpp.o
[189/345] Building CXX object ReactCommon/react/renderer/components/view/CMakeFiles/rrc_view.dir/ViewShadowNode.cpp.o
[190/345] Building CXX object ReactCommon/react/renderer/scheduler/CMakeFiles/react_render_scheduler.dir/Scheduler.cpp.o
[191/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_debug.so
[192/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libjsi.so
[193/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/LayoutConstraints.cpp.o
[194/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/EventEmitter.cpp.o
[195/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libruntimeexecutor.so
[196/345] Linking CXX static library ReactCommon\jsi\libjscruntime.a
[197/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/RawEvent.cpp.o
[198/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/Sealable.cpp.o
[199/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/EventQueueProcessor.cpp.o
[200/345] Building CXX object ReactCommon/react/renderer/uimanager/CMakeFiles/react_render_uimanager.dir/UIManager.cpp.o
[201/345] Linking CXX static library ReactCommon\cxxreact\libreactnative.a
[202/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/EventQueue.cpp.o
[203/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/LayoutMetrics.cpp.o
[204/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/RawPropsKey.cpp.o
[205/345] Linking CXX static library ReactCommon\jsiexecutor\libjsireact.a
[206/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/LayoutableShadowNode.cpp.o
[207/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/RawPropsKeyMap.cpp.o
[208/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/ShadowNodeTraits.cpp.o
[209/345] Linking CXX static library ReactCommon\hermes\executor\libhermes-executor-common.a
[210/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/CoreComponentsRegistry.cpp.o
[211/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/RawProps.cpp.o
[212/345] Building CXX object ReactCommon/react/renderer/graphics/CMakeFiles/react_render_graphics.dir/platform/cxx/react/renderer/graphics/Color.cpp.o
[213/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/Props.cpp.o
[214/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/RawValue.cpp.o
[215/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/State.cpp.o
[216/345] Building CXX object ReactCommon/react/renderer/uimanager/CMakeFiles/react_render_uimanager.dir/UIManagerBinding.cpp.o
[217/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/ShadowNodeFamilyFragment.cpp.o
[218/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/ShadowNode.cpp.o
[219/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/RawPropsParser.cpp.o
[220/345] Building CXX object ReactCommon/react/renderer/imagemanager/CMakeFiles/react_render_imagemanager.dir/ImageResponseObserverCoordinator.cpp.o
[221/345] Building CXX object ReactCommon/react/renderer/imagemanager/CMakeFiles/react_render_imagemanager.dir/ImageResponse.cpp.o
[222/345] Building CXX object ReactCommon/react/renderer/debug/CMakeFiles/react_render_debug.dir/DebugStringConvertibleItem.cpp.o
[223/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/ShadowNodeFragment.cpp.o
[224/345] Building CXX object ReactCommon/react/renderer/debug/CMakeFiles/react_render_debug.dir/DebugStringConvertible.cpp.o
[225/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/StateUpdate.cpp.o
[226/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_debug.so
[227/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/ShadowNodeFamily.cpp.o
[228/345] Building CXX object ReactCommon/react/renderer/core/CMakeFiles/react_render_core.dir/UnbatchedEventQueue.cpp.o
[229/345] Building CXX object ReactCommon/react/renderer/graphics/CMakeFiles/react_render_graphics.dir/Transform.cpp.o
[230/345] Building CXX object ReactCommon/react/renderer/imagemanager/CMakeFiles/react_render_imagemanager.dir/ImageTelemetry.cpp.o
[231/345] Building CXX object ReactCommon/react/renderer/imagemanager/CMakeFiles/react_render_imagemanager.dir/platform/cxx/react/renderer/imagemanager/ImageRequest.cpp.o
[232/345] Building CXX object ReactCommon/react/renderer/components/view/CMakeFiles/rrc_view.dir/Touch.cpp.o
[233/345] Building CXX object ReactCommon/react/renderer/components/view/CMakeFiles/rrc_view.dir/TouchEvent.cpp.o
[234/345] Building CXX object ReactCommon/react/renderer/imagemanager/CMakeFiles/react_render_imagemanager.dir/platform/cxx/react/renderer/imagemanager/ImageManager.cpp.o
[235/345] Building CXX object ReactCommon/react/renderer/components/view/CMakeFiles/rrc_view.dir/PointerEvent.cpp.o
[236/345] Building CXX object ReactCommon/react/renderer/components/view/CMakeFiles/rrc_view.dir/ViewEventEmitter.cpp.o
[237/345] Building CXX object ReactCommon/react/renderer/components/view/CMakeFiles/rrc_view.dir/TouchEventEmitter.cpp.o
[238/345] Building CXX object ReactCommon/react/renderer/components/scrollview/CMakeFiles/rrc_scrollview.dir/ScrollViewEventEmitter.cpp.o
[239/345] Building CXX object ReactCommon/react/renderer/components/scrollview/CMakeFiles/rrc_scrollview.dir/ScrollViewState.cpp.o
[240/345] Building CXX object ReactCommon/react/renderer/components/view/CMakeFiles/rrc_view.dir/AccessibilityProps.cpp.o
[241/345] Building CXX object ReactCommon/react/renderer/components/modal/CMakeFiles/rrc_modal.dir/ModalHostViewState.cpp.o
[242/345] Building CXX object ReactCommon/react/renderer/components/scrollview/CMakeFiles/rrc_scrollview.dir/ScrollViewProps.cpp.o
[243/345] Building CXX object ReactCommon/react/renderer/components/scrollview/CMakeFiles/rrc_scrollview.dir/ScrollViewShadowNode.cpp.o
[244/345] Building CXX object ReactCommon/react/renderer/components/progressbar/CMakeFiles/rrc_progressbar.dir/9b24037a332c72f1b12e93ed6d3e7fb7/AndroidProgressBarShadowNode.cpp.o
[245/345] Building CXX object ReactCommon/react/renderer/components/slider/CMakeFiles/rrc_slider.dir/SliderState.cpp.o
[246/345] Building CXX object ReactCommon/react/renderer/components/view/CMakeFiles/rrc_view.dir/ViewProps.cpp.o
[247/345] Building CXX object ReactCommon/react/renderer/components/progressbar/CMakeFiles/rrc_progressbar.dir/android/react/renderer/components/progressbar/AndroidProgressBarMeasurementsManager.cpp.o
[248/345] Building CXX object ReactCommon/react/renderer/components/textinput/CMakeFiles/rrc_textinput.dir/5e70116dc665c4e710525a6c00ec9619/AndroidTextInputProps.cpp.o
[249/345] Building CXX object ReactCommon/react/renderer/components/textinput/CMakeFiles/rrc_textinput.dir/5e70116dc665c4e710525a6c00ec9619/AndroidTextInputState.cpp.o
[250/345] Building CXX object ReactCommon/react/renderer/components/slider/CMakeFiles/rrc_slider.dir/SliderShadowNode.cpp.o
[251/345] Building CXX object ReactCommon/react/renderer/components/root/CMakeFiles/rrc_root.dir/RootShadowNode.cpp.o
[252/345] Building CXX object ReactCommon/react/renderer/components/textinput/CMakeFiles/rrc_textinput.dir/5e70116dc665c4e710525a6c00ec9619/AndroidTextInputShadowNode.cpp.o
[253/345] Building CXX object ReactCommon/react/renderer/components/image/CMakeFiles/rrc_image.dir/ImageEventEmitter.cpp.o
[254/345] Building CXX object ReactCommon/react/renderer/components/slider/CMakeFiles/rrc_slider.dir/platform/android/react/renderer/components/slider/SliderMeasurementsManager.cpp.o
[255/345] Building CXX object ReactCommon/react/renderer/components/root/CMakeFiles/rrc_root.dir/RootProps.cpp.o
[256/345] Building CXX object ReactCommon/react/renderer/components/image/CMakeFiles/rrc_image.dir/ImageState.cpp.o
[257/345] Building CXX object ReactCommon/react/renderer/components/image/CMakeFiles/rrc_image.dir/ImageShadowNode.cpp.o
[258/345] Building CXX object ReactAndroid/src/main/jni/react/jni/CMakeFiles/reactnativejni.dir/CatalystInstanceImpl.cpp.o
[259/345] Building CXX object ReactCommon/react/renderer/components/text/CMakeFiles/rrc_text.dir/TextProps.cpp.o
[260/345] Building CXX object ReactCommon/react/renderer/components/text/CMakeFiles/rrc_text.dir/BaseTextShadowNode.cpp.o
[261/345] Building CXX object ReactCommon/react/renderer/components/text/CMakeFiles/rrc_text.dir/TextShadowNode.cpp.o
[262/345] Building CXX object ReactCommon/react/renderer/components/text/CMakeFiles/rrc_text.dir/RawTextProps.cpp.o
[263/345] Building CXX object ReactCommon/react/renderer/components/text/CMakeFiles/rrc_text.dir/RawTextShadowNode.cpp.o
[264/345] Building CXX object ReactCommon/react/renderer/components/image/CMakeFiles/rrc_image.dir/ImageProps.cpp.o
[265/345] Building CXX object ReactCommon/react/utils/CMakeFiles/react_utils.dir/ManagedObjectWrapper.mm.o
[266/345] Building CXX object ReactCommon/react/renderer/components/text/CMakeFiles/rrc_text.dir/BaseTextProps.cpp.o
[267/345] Building CXX object ReactCommon/react/renderer/components/text/CMakeFiles/rrc_text.dir/ParagraphEventEmitter.cpp.o
[268/345] Building CXX object ReactCommon/react/renderer/components/unimplementedview/CMakeFiles/rrc_unimplementedview.dir/UnimplementedViewProps.cpp.o
[269/345] Building CXX object ReactCommon/react/renderer/components/unimplementedview/CMakeFiles/rrc_unimplementedview.dir/UnimplementedViewComponentDescriptor.cpp.o
[270/345] Building CXX object ReactCommon/react/utils/CMakeFiles/react_utils.dir/RunLoopObserver.cpp.o
[271/345] Building CXX object ReactCommon/react/renderer/components/text/CMakeFiles/rrc_text.dir/ParagraphProps.cpp.o
[272/345] Building CXX object ReactCommon/react/renderer/components/unimplementedview/CMakeFiles/rrc_unimplementedview.dir/UnimplementedViewShadowNode.cpp.o
[273/345] Building CXX object ReactCommon/react/bridging/CMakeFiles/react_bridging.dir/LongLivedObject.cpp.o
[274/345] Building CXX object ReactCommon/react/renderer/components/text/CMakeFiles/rrc_text.dir/ParagraphShadowNode.cpp.o
[275/345] Building CXX object ReactCommon/react/nativemodule/core/CMakeFiles/react_nativemodule_core.dir/ReactCommon/TurboModulePerfLogger.cpp.o
[276/345] Linking CXX static library ReactCommon\react\bridging\libreact_bridging.a
[277/345] Building CXX object ReactCommon/react/renderer/mapbuffer/CMakeFiles/react_render_mapbuffer.dir/MapBuffer.cpp.o
[278/345] Building CXX object ReactCommon/react/renderer/mapbuffer/CMakeFiles/react_render_mapbuffer.dir/MapBufferBuilder.cpp.o
[279/345] Building CXX object ReactCommon/react/renderer/components/text/CMakeFiles/rrc_text.dir/ParagraphState.cpp.o
[280/345] Building CXX object ReactCommon/react/renderer/leakchecker/CMakeFiles/react_render_leakchecker.dir/LeakChecker.cpp.o
[281/345] Building CXX object ReactCommon/react/nativemodule/core/CMakeFiles/react_nativemodule_core.dir/ReactCommon/TurboModuleBinding.cpp.o
[282/345] Building CXX object ReactCommon/react/nativemodule/core/CMakeFiles/react_nativemodule_core.dir/ReactCommon/TurboModule.cpp.o
[283/345] Building CXX object ReactCommon/react/renderer/leakchecker/CMakeFiles/react_render_leakchecker.dir/WeakFamilyRegistry.cpp.o
[284/345] Building CXX object ReactAndroid/src/main/jni/first-party/fb/CMakeFiles/fb.dir/log.cpp.o
[285/345] Building CXX object ReactCommon/react/renderer/textlayoutmanager/CMakeFiles/react_render_textlayoutmanager.dir/TextMeasureCache.cpp.o
[286/345] Building CXX object ReactAndroid/src/main/jni/first-party/fb/CMakeFiles/fb.dir/assert.cpp.o
[287/345] Building CXX object ReactCommon/react/renderer/components/modal/CMakeFiles/rrc_modal.dir/ModalHostViewShadowNode.cpp.o
[288/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libfb.so
[289/345] Building CXX object ReactCommon/react/nativemodule/core/CMakeFiles/react_nativemodule_core.dir/ReactCommon/TurboModuleUtils.cpp.o
[290/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreactperfloggerjni.so
[291/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_graphics.so
[292/345] Building CXX object ReactAndroid/src/main/jni/first-party/yogajni/CMakeFiles/yoga.dir/jni/YogaJniException.cpp.o
[293/345] Building CXX object ReactAndroid/src/main/jni/first-party/fbgloginit/CMakeFiles/glog_init.dir/glog_init.cpp.o
[294/345] Building CXX object ReactAndroid/src/main/jni/first-party/yogajni/CMakeFiles/yoga.dir/jni/yogajni.cpp.o
[295/345] Linking CXX static library ReactAndroid\src\main\java\com\facebook\react\turbomodule\core\jni\libcallinvokerholder.a
[296/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libglog_init.so
[297/345] Building CXX object ReactAndroid/src/main/jni/first-party/yogajni/CMakeFiles/yoga.dir/jni/common.cpp.o
[298/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_utils.so
[299/345] Building CXX object ReactAndroid/src/main/jni/first-party/yogajni/CMakeFiles/yoga.dir/jni/corefunctions.cpp.o
[300/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_mapbuffer.so
[301/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_core.so
[302/345] Building CXX object ReactAndroid/src/main/jni/first-party/yogajni/CMakeFiles/yoga.dir/jni/YGJNIVanilla.cpp.o
[303/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_componentregistry.so
[304/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_runtimescheduler.so
[305/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_leakchecker.so
[306/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libyoga.so
[307/345] Building CXX object build/generated/source/codegen/jni/CMakeFiles/react_codegen_rncore.dir/react/renderer/components/rncore/ShadowNodes.cpp.o
[308/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libmapbufferjni.so
[309/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\librrc_view.so
[310/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_attributedstring.so
[311/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\librrc_unimplementedview.so
[312/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\librrc_scrollview.so
[313/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\librrc_root.so
[314/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreactnativejni.so
[315/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_telemetry.so
[316/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libjsijniprofiler.so
[317/345] Building CXX object ReactAndroid/src/main/java/com/facebook/react/fabric/jni/CMakeFiles/fabricjni.dir/EventEmitterWrapper.cpp.o
[318/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreactnativeblob.so
[319/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libjscexecutor.so
[320/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_mounting.so
[321/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_imagemanager.so
[322/345] Building CXX object ReactCommon/react/nativemodule/core/CMakeFiles/react_nativemodule_core.dir/ReactCommon/TurboCxxModule.cpp.o
[323/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_uimanager.so
[324/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\librrc_image.so
[325/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_animations.so
[326/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_templateprocessor.so
[327/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_scheduler.so
[328/345] Building CXX object ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/CMakeFiles/hermes-executor-release.dir/OnLoad.cpp.o
[329/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libhermes-executor-release.so
[330/345] Building CXX object build/generated/source/codegen/jni/CMakeFiles/react_codegen_rncore.dir/react/renderer/components/rncore/EventEmitters.cpp.o
[331/345] Building CXX object ReactCommon/react/renderer/textlayoutmanager/CMakeFiles/react_render_textlayoutmanager.dir/bb83bae29660f0016653d39f60ee439a/TextLayoutManager.cpp.o
[332/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_render_textlayoutmanager.so
[333/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\librrc_text.so
[334/345] Building CXX object ReactCommon/react/nativemodule/core/CMakeFiles/react_nativemodule_core.dir/platform/android/ReactCommon/JavaTurboModule.cpp.o
[335/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\librrc_textinput.so
[336/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_nativemodule_core.so
[337/345] Building CXX object build/generated/source/codegen/jni/CMakeFiles/react_codegen_rncore.dir/react/renderer/components/rncore/Props.cpp.o
[338/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libturbomodulejsijni.so
[339/345] Building CXX object build/generated/source/codegen/jni/CMakeFiles/react_codegen_rncore.dir/rncore-generated.cpp.o
[340/345] Linking CXX shared library D:\AwesomeProject\node_modules\react-native\ReactAndroid\build\intermediates\cxx\RelWithDebInfo\2w506u4s\obj\arm64-v8a\libreact_codegen_rncore.so
[341/345] Linking CXX static library ReactCommon\react\renderer\components\progressbar\librrc_progressbar.a
FAILED: ReactCommon/react/renderer/components/progressbar/librrc_progressbar.a
cmd.exe /C "cd . && C:\Users\alabs\AppData\Local\Android\Sdk\cmake\3.18.1\bin\cmake.exe -E rm -f ReactCommon\react\renderer\components\progressbar\librrc_progressbar.a && C:\Users\alabs\AppData\Local\Android\Sdk\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android-ar.exe qc ReactCommon\react\renderer\components\progressbar\librrc_progressbar.a @ReactCommon\react\renderer\components\progressbar\CMakeFiles\rrc_progressbar.rsp && C:\Users\alabs\AppData\Local\Android\Sdk\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android-ranlib.exe ReactCommon\react\renderer\components\progressbar\librrc_progressbar.a && cd ."
C:\Users\alabs\AppData\Local\Android\Sdk\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android-ar.exe: ReactCommon/react/renderer/components/progressbar/CMakeFiles/rrc_progressbar.dir/android/react/renderer/components/progressbar/AndroidProgressBarMeasurementsManager.cpp.o: No such file or directory
[342/345] Linking CXX static library ReactCommon\react\renderer\components\modal\librrc_modal.a
[343/345] Linking CXX static library ReactCommon\react\renderer\components\switch\librrc_switch.a
[344/345] Linking CXX static library ReactCommon\react\renderer\components\slider\librrc_slider.a
ninja: build stopped: subcommand failed.
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 19m 56s
42 actionable tasks: 37 executed, 5 up-to-date
D:\AwesomeProject\android>
@alabsi91 The log snippet says the static library creation is failing which points to the limitation of the "ar" tool in ndk 21 to handle the file paths more than 260 chars long. This restriction might go away once we switch to ndk 23 or higher. By the way, Did you enable long file path support in windows ? https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry
@cortinico Great to hear about the plans to simplify the Hermes builds. Lmk if you need any help in coding or testing ..
long path
enabled on my system.Bumping NDK version in android\build.gradle
file to version 23.2.8568313
worked :
buildscript {
ext {
buildToolsVersion = "31.0.0"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 31
if (System.properties['os.arch'] == "aarch64") {
// For M1 Users we need to use the NDK 24 which added support for aarch64
ndkVersion = "21.4.7075529"
ndkVersion = "24.0.8215888"
} else {
// Otherwise we default to the side-by-side NDK version from AGP.
@mganandraj thank you again .
@alabsi91 not working above solution..........
Same problem here with 0.70.4... Going to test with the ndk 23 "trick".
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy): The OLD behavior for policy CMP0026 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
CMake Error at CMakeLists.txt:64 (project): The CMAKE_C_COMPILER:
cl
is not a full path and was not found in the PATH.
To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler. To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat).
Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:64 (project): The CMAKE_CXX_COMPILER:
cl
is not a full path and was not found in the PATH.
To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler. To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat).
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
FAILURE: Build failed with an exception.
Process 'command 'cmd'' finished with non-zero exit value 1
@marcosPerezRubio Were you able to solve the issue with the 'ndk trick'?
@cortinico Getting this issue on a Mac M1 machine, with a fresh new architecture project. None of the solutions mentioned here works. Any pointers would be appreciated.
@sanketsirohiya No, I'm currently building the app without enabling the new architecture.
Gonna wait to the 0.71 next release to see if it's fixed.
BUILD FAILED in 28s
at makeError (C:\barbeariapalhetapp\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:174:9)
at C:\barbeariapalhetapp\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:278:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runOnAllDevices (C:\barbeariapalhetapp\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (C:\barbeariapalhetapp\node_modules\@react-native-community\cli\build\index.js:142:9)
info Run CLI with --verbose flag for more details.
C:\barbeariapalhetapp>npx react-native run-android info Starting JS server... info Installing the app...
Configure project :app Checking the license for package NDK (Side by side) 23.1.7779620 in C:\Users\Filipe\AppData\Local\Android\Sdk\licenses License for package NDK (Side by side) 23.1.7779620 accepted. Preparing "Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)". "Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" ready. Installing NDK (Side by side) 23.1.7779620 in C:\Users\Filipe\AppData\Local\Android\Sdk\ndk\23.1.7779620 "Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" complete. "Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" finished.
Configure project :react-native-reanimated AAR for react-native-reanimated has been found C:\barbeariapalhetapp\node_modules\react-native-reanimated\android\react-native-reanimated-70-hermes.aar
Task :ReactAndroid:downloadBoost UP-TO-DATE Download https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz
Task :ReactAndroid:downloadDoubleConversion UP-TO-DATE Download https://github.com/google/double-conversion/archive/v1.1.6.tar.gz
Task :ReactAndroid:downloadFmt UP-TO-DATE Download https://github.com/fmtlib/fmt/archive/6.2.1.tar.gz
Task :ReactAndroid:downloadFolly UP-TO-DATE Download https://github.com/facebook/folly/archive/v2021.07.22.00.tar.gz
Task :ReactAndroid:downloadGlog UP-TO-DATE Download https://github.com/google/glog/archive/v0.3.5.tar.gz
Task :ReactAndroid:downloadLibevent UP-TO-DATE Download https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
Task :ReactAndroid:hermes-engine:downloadHermes UP-TO-DATE Download https://github.com/facebook/hermes/tarball/hermes-2022-09-14-RNv0.70.1-2a6b111ab289b55d7b78b5fdf105f466ba270fd7
Task :ReactAndroid:hermes-engine:configureBuildForHermes -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Configuring incomplete, errors occurred! See also "C:/barbeariapalhetapp/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/CMakeFiles/CMakeOutput.log". See also "C:/barbeariapalhetapp/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/CMakeFiles/CMakeError.log".
Task :ReactAndroid:hermes-engine:configureBuildForHermes FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings 24 actionable tasks: 1 executed, 23 up-to-date CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy): The OLD behavior for policy CMP0026 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
CMake Error at CMakeLists.txt:64 (project): The CMAKE_C_COMPILER:
cl
is not a full path and was not found in the PATH.
To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler. To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat).
Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:64 (project): The CMAKE_CXX_COMPILER:
cl
is not a full path and was not found in the PATH.
To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler. To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat).
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
FAILURE: Build completed with 2 failures.
What went wrong: Execution failed for task ':ReactAndroid:hermes-engine:configureBuildForHermes'.
Process 'command 'cmd'' finished with non-zero exit value 1
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.
What went wrong: java.lang.StackOverflowError (no error message)
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 5m 17s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy): The OLD behavior for policy CMP0026 will be removed from a future version of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.
CMake Error at CMakeLists.txt:64 (project): The CMAKE_C_COMPILER:
cl
is not a full path and was not found in the PATH.
To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler. To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat).
Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:64 (project): The CMAKE_CXX_COMPILER:
cl
is not a full path and was not found in the PATH.
To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler. To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat).
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
FAILURE: Build completed with 2 failures.
What went wrong: Execution failed for task ':ReactAndroid:hermes-engine:configureBuildForHermes'.
Process 'command 'cmd'' finished with non-zero exit value 1
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.
What went wrong: java.lang.StackOverflowError (no error message)
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 5m 17s
at makeError (C:\barbeariapalhetapp\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:174:9)
at C:\barbeariapalhetapp\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:278:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runOnAllDevices (C:\barbeariapalhetapp\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (C:\barbeariapalhetapp\node_modules\@react-native-community\cli\build\index.js:142:9)
info Run CLI with --verbose flag for more details.
@cortinico same error in React Native 0.70.5
@filipepalheta From reading the error message, i think you are not building from Visual Studio environment. In 0.70.x, you are required to build from VS environment to build the hermes compiler ..
Any updates to this issue? it is especially annoying when trying to build it in the cloud with expo eas
[RUN_GRADLEW] -- The following ICU libraries were not found:
[RUN_GRADLEW] -- uc (required)
[RUN_GRADLEW] -- i18n (required)
[RUN_GRADLEW] -- data (required)
[RUN_GRADLEW] -- uc (required)
[RUN_GRADLEW] -- Failed to find all ICU components (missing: ICU_INCLUDE_DIR ICU_LIBRARY _ICU_REQUIRED_LIBS_FOUND) (Required is at least version "52")
[RUN_GRADLEW] -- Configuring incomplete, errors occurred!
Is the only workaround to install the ICU libs locally?
For running it locally just run sudo apt-get install libicu-dev
(Ubuntu 22.04
) then it works locally.
Gonna wait to the 0.71 next release to see if it's fixed.
In 0.71, we removed the need to build the Hermes compiler locally when on New Architecture. So this issue on Windows, and similar ones, should be fixed.
For the time being, yes, you need icu
installed for Windows and you need to build from the Visual Studio console when running on the New Architecture. It's described here: https://reactnative.dev/architecture/bundled-hermes#android-users-on-new-architecture-building-on-windows
This issue is fixed in React Native 0.71 (as this task won't be executing anymore). Please migrate to 0.71 and try again. If the issue persists, open a new issue. Thank you
I am having same problem 0.71.14
System:
OS: macOS 14.0
CPU: (8) arm64 Apple M1
Memory: 86.52 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.17.1/bin/yarn
npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm
Watchman: 2023.11.06.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.14.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0
Android SDK:
API Levels: 23, 26, 28, 31, 33, 34
Build Tools: 29.0.2, 30.0.3, 31.0.0, 33.0.0, 34.0.0
System Images: android-34 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10811636
Xcode: 15.0.1/15A507 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_292 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.14 => 0.71.14
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
[ 53%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/Semaphore.cpp.o
> Task :react-native:ReactAndroid:hermes-engine:buildHermes FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
644 actionable tasks: 4 executed, 640 up-to-date
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=2048m; support was removed in 8.0
CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
/Users/vilayhongbounthanh/Work/6.Task/metamask-mobile/node_modules/react-native/sdks/hermes/lib/Support/Semaphore.cpp:35:3: error: use of undeclared identifier 'assert'
assert(semPtr_ != nullptr && "sem_open should have succeeded");
^
1 error generated.
make[3]: *** [lib/Support/CMakeFiles/hermesSupport.dir/Semaphore.cpp.o] Error 1
make[2]: *** [lib/Support/CMakeFiles/hermesSupport.dir/all] Error 2
make[1]: *** [tools/hermesc/CMakeFiles/hermesc.dir/rule] Error 2
make: *** [hermesc] Error 2
I have the same issue in 0.71.14
"react-native": "^0.70.9", This version has the same problem,Do you have a solution?
Description
Hi i tried to build my react native project but am getting the following error
Version
0.69.0
Output of
npx react-native info
Execution failed for task ':ReactAndroid:hermes-engine:buildCMakeRelease[arm64-v8a][libhermes]'.
ninja: error: 'C:/Users/alade/Desktop/Cliqueon/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/bin/Release/hermesc.exe', needed by 'lib/InternalBytecode/InternalBytecode.hbc', missing and no known rule to make it
Steps to reproduce
react native init project yarn android os architecture: windows 10 5gb ram processor: intel dual core 64bit processor os: windows 10
Snack, code example, screenshot, or link to a repository