You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn android
yarn run v1.22.19
$ react-native run-android
info Installing the app...
Starting a Gradle Daemon, 2 incompatible and 1 stopped Daemons could not be reused, use --status for details
Task :app:buildCMakeDebug[arm64-v8a] FAILED
C/C++: ninja: error: 'D:/blanche/fangdu/react-native/demo/AwesomeProject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp', needed by 'CMakeFiles/appmodules.dir/D_/blanche/fangdu/react-native/demo/AwesomeProject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp.o', missing and no known rule to make it
41 actionable tasks: 31 executed, 10 up-to-date
C++ build system [build] failed while executing: @echo off
"C:\Users\xqqiu\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^
-C ^
"D:\blanche\fangdu\react-native\demo\AwesomeProject\android\app\.cxx\Debug\1q573h5c\arm64-v8a" ^
appmodules
from D:\blanche\fangdu\react-native\demo\AwesomeProject\android\app
ninja: error: 'D:/blanche/fangdu/react-native/demo/AwesomeProject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp', needed by 'CMakeFiles/appmodules.dir/D_/blanche/fangdu/react-native/demo/AwesomeProject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp.o', missing and no known rule to make it
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 39s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:buildCMakeDebug[arm64-v8a]'. > com.android.ide.common.process.ProcessException: ninja: Entering directory `D:\blanche\fangdu\react-native\demo\AwesomeProject\android\app.cxx\Debug\1q573h5c\arm64-v8a' [0/2] Re-checking globbed directories... C++ build system [build] failed while executing: @echo off "C:\Users\xqqiu\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^ -C ^ "D:\blanche\fangdu\react-native\demo\AwesomeProject\android\app\.cxx\Debug\1q573h5c\arm64-v8a" ^ appmodules from D:\blanche\fangdu\react-native\demo\AwesomeProject\android\app ninja: error: 'D:/blanche/fangdu/react-native/demo/AwesomeProject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp', needed by 'CMakeFiles/appmodules.dir/D_/blanche/fangdu/react-native/demo/AwesomeProject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp.o', missing and no known rule to make it * 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 39s.
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.
本地信息:
yarn react-native info
yarn run v1.22.19
$ D:\blanche\fangdu\react-native\demo\AwesomeProject\node_modules.bin\react-native info
info Fetching system and libraries information...
System:
OS: Windows 11 10.0.26100
CPU: "(16) x64 AMD Ryzen 7 7735H with Radeon Graphics "
Memory: 14.54 GB / 27.69 GB
Binaries:
Node:
version: 20.7.0
path: ~\AppData\Local\Temp\yarn--1734745324149-0.48497969094639815\node.CMD
Yarn:
version: 1.22.19
path: ~\AppData\Local\Temp\yarn--1734745324149-0.48497969094639815\yarn.CMD
npm:
version: 10.1.0
path: D:\blanche\install\nodejs\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels:
- "24"
- "26"
- "27"
- "28"
- "29"
- "30"
- "31"
- "32"
- "33"
- "33"
- "33"
- "34"
- "34"
- "34"
- "35"
Build Tools:
- 30.0.3
- 33.0.2
- 34.0.0
- 35.0.0
System Images:
- android-30 | Google Play Intel x86 Atom
Android NDK: 22.1.7171670
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions:
- 10.0.22621.0
IDEs:
Android Studio: AI-241.15989.150.2411.11948838
Visual Studio:
- 17.9.34902.65 (Visual Studio Enterprise 2022)
- 17.10.34902.84 (Visual Studio Enterprise 2022)
Languages:
Java:
version: 17.0.7
path: /c/Program Files/Common Files/Oracle/Java/javapath/javac
Ruby: Not Found
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: latest
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.5
wanted: 0.76.5
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
The text was updated successfully, but these errors were encountered:
报错信息:
yarn android
yarn run v1.22.19
$ react-native run-android
info Installing the app...
Starting a Gradle Daemon, 2 incompatible and 1 stopped Daemons could not be reused, use --status for details
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
FAILURE: Build failed with an exception.
Execution failed for task ':app:buildCMakeDebug[arm64-v8a]'.
C++ build system [build] failed while executing:
@echo off
"C:\Users\xqqiu\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^
-C ^
"D:\blanche\fangdu\react-native\demo\AwesomeProject\android\app\.cxx\Debug\1q573h5c\arm64-v8a" ^
appmodules
from D:\blanche\fangdu\react-native\demo\AwesomeProject\android\app
ninja: error: 'D:/blanche/fangdu/react-native/demo/AwesomeProject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp', needed by 'CMakeFiles/appmodules.dir/D_/blanche/fangdu/react-native/demo/AwesomeProject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp.o', missing and no known rule to make it
BUILD FAILED in 39s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:buildCMakeDebug[arm64-v8a]'. > com.android.ide.common.process.ProcessException: ninja: Entering directory `D:\blanche\fangdu\react-native\demo\AwesomeProject\android\app.cxx\Debug\1q573h5c\arm64-v8a' [0/2] Re-checking globbed directories... C++ build system [build] failed while executing: @echo off "C:\Users\xqqiu\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^ -C ^ "D:\blanche\fangdu\react-native\demo\AwesomeProject\android\app\.cxx\Debug\1q573h5c\arm64-v8a" ^ appmodules from D:\blanche\fangdu\react-native\demo\AwesomeProject\android\app ninja: error: 'D:/blanche/fangdu/react-native/demo/AwesomeProject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp', needed by 'CMakeFiles/appmodules.dir/D_/blanche/fangdu/react-native/demo/AwesomeProject/android/app/build/generated/autolinking/src/main/jni/autolinking.cpp.o', missing and no known rule to make it * 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 39s.
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.
本地信息:
yarn react-native info
yarn run v1.22.19
$ D:\blanche\fangdu\react-native\demo\AwesomeProject\node_modules.bin\react-native info
info Fetching system and libraries information...
System:
OS: Windows 11 10.0.26100
CPU: "(16) x64 AMD Ryzen 7 7735H with Radeon Graphics "
Memory: 14.54 GB / 27.69 GB
Binaries:
Node:
version: 20.7.0
path: ~\AppData\Local\Temp\yarn--1734745324149-0.48497969094639815\node.CMD
Yarn:
version: 1.22.19
path: ~\AppData\Local\Temp\yarn--1734745324149-0.48497969094639815\yarn.CMD
npm:
version: 10.1.0
path: D:\blanche\install\nodejs\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels:
- "24"
- "26"
- "27"
- "28"
- "29"
- "30"
- "31"
- "32"
- "33"
- "33"
- "33"
- "34"
- "34"
- "34"
- "35"
Build Tools:
- 30.0.3
- 33.0.2
- 34.0.0
- 35.0.0
System Images:
- android-30 | Google Play Intel x86 Atom
Android NDK: 22.1.7171670
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions:
- 10.0.22621.0
IDEs:
Android Studio: AI-241.15989.150.2411.11948838
Visual Studio:
- 17.9.34902.65 (Visual Studio Enterprise 2022)
- 17.10.34902.84 (Visual Studio Enterprise 2022)
Languages:
Java:
version: 17.0.7
path: /c/Program Files/Common Files/Oracle/Java/javapath/javac
Ruby: Not Found
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: latest
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.5
wanted: 0.76.5
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
The text was updated successfully, but these errors were encountered: