Closed Garthguo closed 1 year ago
I've pinged folks at Microsoft to look into this one. @ayuan-gy could you share your project? Is it a blank one?
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
info JS server already running.
info Installing the app...
> 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
-- Found the following ICU libraries:
-- uc (required)
-- i18n (required)
-- uc (required)
-- The following ICU libraries were not found:
-- data (required)
-- Failed to find all ICU components (missing: ICU_INCLUDE_DIR _ICU_REQUIRED_LIBS_FOUND) (Required is at least version "52")
-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- CMAKE_HOST_SYSTEM_NAME = Windows
-- CMAKE_SYSTEM_NAME = Windows
-- HERMES_APPLE_TARGET_PLATFORM =
-- CMAKE_CROSSCOMPILING = FALSE
-- Configuring done
-- Generating done
-- Build files have been written to: F:/font/Project/exmple-project/TestArch/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes
> Task :ReactAndroid:hermes-engine:buildHermes
[ 3%] Built target LLVHDemangle
[ 30%] Built target LLVHSupport
[ 30%] Built target hermesFrontEndDefs
[ 33%] Built target hermesPlatformUnicode
[ 33%] Built target hermesRegex
[ 36%] Built target dtoa
[ 50%] Built target hermesSupport
[ 53%] Built target hermesAST
[ 56%] Built target hermesParser
[ 63%] Built target hermesFrontend
[ 73%] Built target hermesOptimizer
[ 76%] Built target hermesInst
[ 76%] Built target hermesAST2JS
[ 76%] Built target hermesADT
[ 76%] Built target hermesBackend
[ 80%] Built target hermesSourceMap
[ 80%] Built target hermesFlowParser
[ 93%] Built target hermesHBCBackend
[ 96%] Built target zip
[100%] Built target hermesCompilerDriver
[100%] Built target hermesc
> Task :ReactAndroid:buildCMakeDebug[arm64-v8a][fabricjni,hermes-executor-debug,etc]
C/C++: ninja: Entering directory `F:\font\Project\exmple-project\TestArch\node_modules\react-native\ReactAndroid\.cxx\Debug\5f1g5l2f\arm64-v8a'
C/C++: clang++: error: linker command failed with exit code 1 (use -v to see invocation)
> Task :ReactAndroid:buildCMakeDebug[arm64-v8a][fabricjni,hermes-executor-debug,etc] 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
39 actionable tasks: 13 executed, 26 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.
Using Windows 10 built-in ICU
Warning: NMake does not support parallel builds. Ignoring parallel build command line option.
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':ReactAndroid:buildCMakeDebug[arm64-v8a][fabricjni,hermes-executor-debug,etc]'.
> Build command failed.
Error while executing process F:\font\Software\Android\Sdk\cmake\3.18.1\bin\ninja.exe with arguments {-C F:\font\Project\exmple-project\TestArch\node_modules\react-native\ReactAndroid\.cxx\Debug\5f1g5l2f\arm64-v8a fabricjni hermes-executor-debug jscexecutor jsijniprofiler reactnativeblob reactnativejni reactperfloggerjni turbomodulejsijni}
ninja: Entering directory `F:\font\Project\exmple-project\TestArch\node_modules\react-native\ReactAndroid\.cxx\Debug\5f1g5l2f\arm64-v8a'
[0/2] Re-checking globbed directories...
[1/16] Building CXX object ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/CMakeFiles/turbomodulejsijni.dir/ReactCommon/CompositeTurboModuleManagerDelegate.cpp.o
[2/16] Linking CXX shared library F:\font\Project\exmple-project\TestArch\node_modules\react-native\ReactAndroid\build\intermediates\cxx\Debug\5f1g5l2f\obj\arm64-v8a\libturbomodulejsijni.so
FAILED: F:/font/Project/exmple-project/TestArch/node_modules/react-native/ReactAndroid/build/intermediates/cxx/Debug/5f1g5l2f/obj/arm64-v8a/libturbomodulejsijni.so
cmd.exe /C "cd . && F:\font\Software\Android\Sdk\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/font/Software/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/font/Software/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -Wl,--build-id -shared -Wl,-soname,libturbomodulejsijni.so -o F:\font\Project\exmple-project\TestArch\node_modules\react-native\ReactAndroid\build\intermediates\cxx\Debug\5f1g5l2f\obj\arm64-v8a\libturbomodulejsijni.so @ReactAndroid\src\main\java\com\facebook\react\turbomodule\core\jni\CMakeFiles\turbomodulejsijni.rsp && cd ."
F:/font/Software/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\ld: 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)
[3/16] Building CXX object ReactCommon/react/renderer/components/switch/CMakeFiles/rrc_switch.dir/androidswitch/react/renderer/components/androidswitch/AndroidSwitchMeasurementsManager.cpp.o
[4/16] Building CXX object ReactCommon/react/renderer/components/progressbar/CMakeFiles/rrc_progressbar.dir/android/react/renderer/components/progressbar/AndroidProgressBarShadowNode.cpp.o
[5/16] Building CXX object ReactCommon/react/renderer/components/progressbar/CMakeFiles/rrc_progressbar.dir/android/react/renderer/components/progressbar/AndroidProgressBarMeasurementsManager.cpp.o
[6/16] Building CXX object ReactCommon/react/renderer/components/textinput/CMakeFiles/rrc_textinput.dir/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputShadowNode.cpp.o
[7/16] Building CXX object ReactCommon/react/renderer/textlayoutmanager/CMakeFiles/react_render_textlayoutmanager.dir/platform/android/react/renderer/textlayoutmanager/TextLayoutManager.cpp.o
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
BUILD FAILED in 27s
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.
Using Windows 10 built-in ICU
Warning: NMake does not support parallel builds. Ignoring parallel build command line option.
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':ReactAndroid:buildCMakeDebug[arm64-v8a][fabricjni,hermes-executor-debug,etc]'.
> Build command failed.
Error while executing process F:\font\Software\Android\Sdk\cmake\3.18.1\bin\ninja.exe with arguments {-C F:\font\Project\exmple-project\TestArch\node_modules\react-native\ReactAndroid\.cxx\Debug\5f1g5l2f\arm64-v8a fabricjni hermes-executor-debug jscexecutor jsijniprofiler reactnativeblob reactnativejni reactperfloggerjni turbomodulejsijni}
ninja: Entering directory `F:\font\Project\exmple-project\TestArch\node_modules\react-native\ReactAndroid\.cxx\Debug\5f1g5l2f\arm64-v8a'
[0/2] Re-checking globbed directories...
[1/16] Building CXX object ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/CMakeFiles/turbomodulejsijni.dir/ReactCommon/CompositeTurboModuleManagerDelegate.cpp.o
[2/16] Linking CXX shared library F:\font\Project\exmple-project\TestArch\node_modules\react-native\ReactAndroid\build\intermediates\cxx\Debug\5f1g5l2f\obj\arm64-v8a\libturbomodulejsijni.so
FAILED: F:/font/Project/exmple-project/TestArch/node_modules/react-native/ReactAndroid/build/intermediates/cxx/Debug/5f1g5l2f/obj/arm64-v8a/libturbomodulejsijni.so
cmd.exe /C "cd . && F:\font\Software\Android\Sdk\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/font/Software/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/font/Software/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -Wl,--build-id -shared -Wl,-soname,libturbomodulejsijni.so -o F:\font\Project\exmple-project\TestArch\node_modules\react-native\ReactAndroid\build\intermediates\cxx\Debug\5f1g5l2f\obj\arm64-v8a\libturbomodulejsijni.so @ReactAndroid\src\main\java\com\facebook\react\turbomodule\core\jni\CMakeFiles\turbomodulejsijni.rsp && cd ."
F:/font/Software/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\ld: 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)
[3/16] Building CXX object ReactCommon/react/renderer/components/switch/CMakeFiles/rrc_switch.dir/androidswitch/react/renderer/components/androidswitch/AndroidSwitchMeasurementsManager.cpp.o
[4/16] Building CXX object ReactCommon/react/renderer/components/progressbar/CMakeFiles/rrc_progressbar.dir/android/react/renderer/components/progressbar/AndroidProgressBarShadowNode.cpp.o
[5/16] Building CXX object ReactCommon/react/renderer/components/progressbar/CMakeFiles/rrc_progressbar.dir/android/react/renderer/components/progressbar/AndroidProgressBarMeasurementsManager.cpp.o
[6/16] Building CXX object ReactCommon/react/renderer/components/textinput/CMakeFiles/rrc_textinput.dir/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputShadowNode.cpp.o
[7/16] Building CXX object ReactCommon/react/renderer/textlayoutmanager/CMakeFiles/react_render_textlayoutmanager.dir/platform/android/react/renderer/textlayoutmanager/TextLayoutManager.cpp.o
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
BUILD FAILED in 27s
at makeError (F:\font\Project\exmple-project\TestArch\node_modules\execa\index.js:174:9)
at F:\font\Project\exmple-project\TestArch\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (F:\font\Project\exmple-project\TestArch\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (F:\font\Project\exmple-project\TestArch\node_modules\@react-native-community\cli\build\index.js:142:9)
info Run CLI with --verbose flag for more details.
I've pinged folks at Microsoft to look into this one. @ayuan-gy could you share your project? Is it a blank one?
it is not my issue project,i got the same error message when i only set "newArchEnabled=true" in my blank project
I've pinged folks at Microsoft to look into this one. @ayuan-gy could you share your project? Is it a blank one?
Any progress on this issue?
it is not my issue project
What do you mean with your 'my issue project'?
it is not my issue project
What do you mean with your 'my issue project'?
The error information in the comment is not the same project I issued, it is obtained from an blank project
Ok great. I've passed this over to MSFT, I haven't got a response yet.
MSFT
Ok great. I've passed this over to MSFT, I haven't got a response yet.
Does the Text component of react native has plan to adapting the justify style of Chinese text https://github.com/facebook/react-native/issues/28436
Does the Text component of react native has plan to adapting the justify style of Chinese text
28436
Please let's keep the conversation focused on this issue only
react native 的 Text 组件是否有计划适配中文文本的 justify 样式
28436
请让我们只关注这个问题
ok
@ayuan-gy Have you enabled long file paths on Windows host ? Could you also try switching to ndk24 ?
This issue is fixed in React Native 0.71 (as CMake builds for Hermes won't be executing anymore). Please migrate to 0.71 and try again. If the issue persists, open a new issue. Thank you
using "react-native": "0.71.7"
and getting this error:
Execution failed for task ':app:buildCMakeDebug[arm64-v8a]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `/Users/uni/Projects/RainbowShot/rainbowshot/android/app/.cxx/Debug/2z4wk685/arm64-v8a'
[0/2] Re-checking globbed directories...
[1/2] Re-running CMake...
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/uni/Projects/RainbowShot/rainbowshot/android/app/.cxx/Debug/2z4wk685/arm64-v8a
[0/2] Re-checking globbed directories...
[1/21] Building CXX object safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/build/generated/source/codegen/jni/react/renderer/components/safeareacontext/safeareacontextJSI-generated.cpp.o
[2/21] Building CXX object safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/build/generated/source/codegen/jni/react/renderer/components/safeareacontext/States.cpp.o
[3/21] Building CXX object CMakeFiles/appmodules.dir/Users/uni/Projects/RainbowShot/rainbowshot/android/app/build/generated/rncli/src/main/jni/rncli.cpp.o
FAILED: CMakeFiles/appmodules.dir/Users/uni/Projects/RainbowShot/rainbowshot/android/app/build/generated/rncli/src/main/jni/rncli.cpp.o
/Users/uni/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/Users/uni/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/uni/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dappmodules_EXPORTS -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup -I/Users/uni/Projects/RainbowShot/rainbowshot/android/app/build/generated/rncli/src/main/jni -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/src/main/jni -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/src/main/jni/. -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/src/main/jni/../../../../common/cpp -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/src/main/jni/../../../build/generated/source/codegen/jni -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/src/main/jni/../../../build/generated/source/codegen/jni/react/renderer/components/safeareacontext -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/. -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../../common/cpp -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../build/generated/source/codegen/jni -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../build/generated/source/codegen/jni/react/renderer/components/rnscreens -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/fabricjni/include -isystem /Users/uni/.gradle/caches/transforms-3/c9bd024e1950645d86b630b5a7b35a74/transformed/jetified-fbjni-0.3.0/prefab/modules/fbjni/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/folly_runtime/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/glog/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/jsi/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_codegen_rncore/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_debug/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_nativemodule_core/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_newarchdefaults/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_componentregistry/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_core/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_debug/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_graphics/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_imagemanager/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_mapbuffer/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/rrc_image/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/rrc_view/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/runtimeexecutor/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/turbomodulejsijni/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/yoga/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limit-debug-info -fPIC -Wall -Werror -fexceptions -frtti -std=c++17 -DWITH_INSPECTOR=1 -DLOG_TAG=\"ReactNative\" -DFOLLY_NO_CONFIG=1 -DFOLLY_HAVE_CLOCK_GETTIME=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_MOBILE=1 -DFOLLY_HAVE_RECVMMSG=1 -DFOLLY_HAVE_PTHREAD=1 -DFOLLY_HAVE_XSI_STRERROR_R=1 -MD -MT CMakeFiles/appmodules.dir/Users/uni/Projects/RainbowShot/rainbowshot/android/app/build/generated/rncli/src/main/jni/rncli.cpp.o -MF CMakeFiles/appmodules.dir/Users/uni/Projects/RainbowShot/rainbowshot/android/app/build/generated/rncli/src/main/jni/rncli.cpp.o.d -o CMakeFiles/appmodules.dir/Users/uni/Projects/RainbowShot/rainbowshot/android/app/build/generated/rncli/src/main/jni/rncli.cpp.o -c /Users/uni/Projects/RainbowShot/rainbowshot/android/app/build/generated/rncli/src/main/jni/rncli.cpp
In file included from /Users/uni/Projects/RainbowShot/rainbowshot/android/app/build/generated/rncli/src/main/jni/rncli.cpp:12:
In file included from /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/rnscreens.h:19:
In file included from /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../../common/cpp/react/renderer/components/rnscreens/RNSScreenComponentDescriptor.h:4:
In file included from /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../../common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNode.h:3:
/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../../common/cpp/react/renderer/components/rnscreens/RNSScreenState.h:4:10: fatal error: 'react/renderer/core/graphicsConversions.h' file not found
#include <react/renderer/core/graphicsConversions.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/21] Building CXX object safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/build/generated/source/codegen/jni/react/renderer/components/safeareacontext/EventEmitters.cpp.o
[5/21] Building CXX object rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNode.cpp.o
FAILED: rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNode.cpp.o
/Users/uni/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/Users/uni/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/uni/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dreact_codegen_rnscreens_EXPORTS -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/. -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../../common/cpp -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../build/generated/source/codegen/jni -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../build/generated/source/codegen/jni/react/renderer/components/rnscreens -isystem /Users/uni/.gradle/caches/transforms-3/c9bd024e1950645d86b630b5a7b35a74/transformed/jetified-fbjni-0.3.0/prefab/modules/fbjni/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/folly_runtime/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/glog/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/jsi/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_codegen_rncore/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_debug/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_nativemodule_core/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_core/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_debug/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_graphics/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_mapbuffer/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/rrc_view/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/turbomodulejsijni/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/yoga/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limit-debug-info -fPIC -fexceptions -frtti -std=c++17 -Wall -Wpedantic -Wno-gnu-zero-variadic-macro-arguments -DLOG_TAG=\"ReactNative\" -DFOLLY_NO_CONFIG=1 -DFOLLY_HAVE_CLOCK_GETTIME=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_MOBILE=1 -DFOLLY_HAVE_RECVMMSG=1 -DFOLLY_HAVE_PTHREAD=1 -DFOLLY_HAVE_XSI_STRERROR_R=1 -MD -MT rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNode.cpp.o -MF rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNode.cpp.o.d -o rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNode.cpp.o -c /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNode.cpp
In file included from /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNode.cpp:1:
In file included from /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNode.h:3:
/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenState.h:4:10: fatal error: 'react/renderer/core/graphicsConversions.h' file not found
#include <react/renderer/core/graphicsConversions.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/21] Building CXX object safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/build/generated/source/codegen/jni/safeareacontext-generated.cpp.o
[7/21] Building CXX object rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenState.cpp.o
FAILED: rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenState.cpp.o
/Users/uni/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/Users/uni/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/uni/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dreact_codegen_rnscreens_EXPORTS -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/. -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../../common/cpp -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../build/generated/source/codegen/jni -I/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/android/src/main/jni/../../../build/generated/source/codegen/jni/react/renderer/components/rnscreens -isystem /Users/uni/.gradle/caches/transforms-3/c9bd024e1950645d86b630b5a7b35a74/transformed/jetified-fbjni-0.3.0/prefab/modules/fbjni/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/folly_runtime/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/glog/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/jsi/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_codegen_rncore/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_debug/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_nativemodule_core/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_core/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_debug/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_graphics/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/react_render_mapbuffer/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/rrc_view/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/turbomodulejsijni/include -isystem /Users/uni/.gradle/caches/transforms-3/e358a9c3b7447ff3e13062e7d4d49b9c/transformed/jetified-react-android-0.71.7-debug/prefab/modules/yoga/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limit-debug-info -fPIC -fexceptions -frtti -std=c++17 -Wall -Wpedantic -Wno-gnu-zero-variadic-macro-arguments -DLOG_TAG=\"ReactNative\" -DFOLLY_NO_CONFIG=1 -DFOLLY_HAVE_CLOCK_GETTIME=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_MOBILE=1 -DFOLLY_HAVE_RECVMMSG=1 -DFOLLY_HAVE_PTHREAD=1 -DFOLLY_HAVE_XSI_STRERROR_R=1 -MD -MT rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenState.cpp.o -MF rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenState.cpp.o.d -o rnscreens_autolinked_build/CMakeFiles/react_codegen_rnscreens.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenState.cpp.o -c /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenState.cpp
In file included from /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenState.cpp:1:
/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-screens/common/cpp/react/renderer/components/rnscreens/RNSScreenState.h:4:10: fatal error: 'react/renderer/core/graphicsConversions.h' file not found
#include <react/renderer/core/graphicsConversions.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/21] Building CXX object safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.cpp.o
In file included from /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.cpp:1:
/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.h:19:7: warning: designated initializers are a C++20 extension [-Wc++20-designator]
.left = (float)value["left"].getDouble(),
^
1 warning generated.
[9/21] Building CXX object safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/build/generated/source/codegen/jni/react/renderer/components/safeareacontext/ShadowNodes.cpp.o
[10/21] Building CXX object safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/build/generated/source/codegen/jni/react/renderer/components/safeareacontext/Props.cpp.o
[11/21] Building CXX object safeareacontext_autolinked_build/CMakeFiles/react_codegen_safeareacontext.dir/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.cpp.o
In file included from /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.cpp:1:
In file included from /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.h:6:
/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/react-native-safe-area-context/android/src/main/jni/../../../../common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewState.h:19:7: warning: designated initializers are a C++20 extension [-Wc++20-designator]
.left = (float)value["left"].getDouble(),
^
1 warning generated.
[12/21] Building CXX object CMakeFiles/appmodules.dir/OnLoad.cpp.o
ninja: build stopped: subcommand failed.
C++ build system [build] failed while executing:
/Users/uni/Library/Android/sdk/cmake/3.18.1/bin/ninja \
-C \
/Users/uni/Projects/RainbowShot/rainbowshot/android/app/.cxx/Debug/2z4wk685/arm64-v8a \
appmodules \
react_codegen_rnscreens \
react_codegen_safeareacontext
from /Users/uni/Projects/RainbowShot/rainbowshot/android/app
CMake Warning at /Users/uni/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
/Users/uni/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include)
/Users/uni/Projects/RainbowShot/rainbowshot/android/app/.cxx/Debug/2z4wk685/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
CMakeLists.txt:28 (project)
* 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
BUILD FAILED in 23s
at makeError (/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/execa/index.js:174:9)
at /Users/uni/Projects/RainbowShot/rainbowshot/node_modules/execa/index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:82:7)
at async Command.handleAction (/Users/uni/Projects/RainbowShot/rainbowshot/node_modules/@react-native-community/cli/build/index.js:108:9)
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Unis-MacBook-Pro:rainbowshot uni$
@ZeeshanAhmadKhalil I have the same problem, Do you have any solution?
@TamarCoe
I got this issue after adding native-module (which I created using turbo native module) in package.json.
But I didn't find any solution, so I removed that native module from package.json for now.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:buildCMakeDebug[armeabi-v7a]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `D:\..\..\..\android\app\.cxx\Debug\562k3m6c\armeabi-v7a'
I also got the same error when I built Android on Window 11 OS.
react-native: 0.72.3 node: 18.16.0
Then, I deleted folder .cxx
in android/app
, and tried again. Then it worked successfully
ninja: error: unknown target 'react_codegen_rngesturehandler_codegen'
how to solve this one?
Description
Version
0.70.3
Output of
npx react-native info
System: OS: Windows 10 10.0.22000 CPU: (12) x64 AMD Ryzen 5 4600H with Radeon Graphics Memory: 4.47 GB / 15.37 GB Binaries: Node: 16.16.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD Watchman: 20220918.223204.0 - C:\ProgramData\chocolatey\bin\watchman.EXE SDKs: Android SDK: API Levels: 28, 31, 33 Build Tools: 30.0.2, 30.0.3, 31.0.0, 33.0.0 System Images: android-31 | Intel x86 Atom_64, android-33 | Google APIs Intel x86 Atom_64 Android NDK: Not Found Windows SDK: Not Found IDEs: Android Studio: Not Found Visual Studio: 17.3.32929.385 (Visual Studio Community 2022) Languages: Java: 11.0.16.1 npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: ^0.70.3 => 0.70.3 react-native-windows: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
npx react-native run-android
Snack, code example, screenshot, or link to a repository