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
I am using branch android-0.68.0-rc3 and modify react-native version to 0.68 stable only. When I try yarn run android, it return an error log like this.
Task :ReactAndroid:buildNdkBuildDebug
C/C++: make: *** Deleting file 'C:\Users\Fengying\Desktop\RNNewArchitectureApp-run-android-0.68.0-rc3\node_modules\react-native\ReactAndroid\build\intermediates\cxx\Debug\3o3l4z5f/obj/local/armeabi-v7a/libboost.a'
C/C++: C:/Users/Fengying/AppData/Local/Android/Sdk/ndk/21.4.7075529/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ar: C:\Users\Fengying\Desktop\RNNewArchitectureApp-run-android-0.68.0-rc3\node_modules\react-native\ReactAndroid\build\intermediates\cxx\Debug\3o3l4z5f/obj/local/armeabi-v7a/objs-debug/boost/C_/Users/Fengying/Desktop/RNNewArchitectureApp-run-android-0.68.0-rc3/node_modules/react-native/ReactAndroid/build/third-party-ndk/boost/asm/arm/ontop_arm_aapcs_elf_gas.o: No such file or directory
C/C++: make: *** [C:/Users/Fengying/AppData/Local/Android/Sdk/ndk/21.4.7075529/build//../build/core/build-binary.mk:600: C:\Users\Fengying\Desktop\RNNewArchitectureApp-run-android-0.68.0-rc3\node_modules\react-native\ReactAndroid\build\intermediates\cxx\Debug\3o3l4z5f/obj/local/armeabi-v7a/libboost.a] Error 1
C/C++: make: *** Waiting for unfinished jobs....
Task :ReactAndroid:buildNdkBuildDebug 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.
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
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':ReactAndroid:buildNdkBuildDebug'.
at makeError (C:\Users\Fengying\Desktop\RNNewArchitectureApp-run-android-0.68.0-rc3\node_modules\execa\index.js:174:9)
at C:\Users\Fengying\Desktop\RNNewArchitectureApp-run-android-0.68.0-rc3\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (C:\Users\Fengying\Desktop\RNNewArchitectureApp-run-android-0.68.0-rc3\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (C:\Users\Fengying\Desktop\RNNewArchitectureApp-run-android-0.68.0-rc3\node_modules\@react-native-community\cli\build\index.js:192: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.
The text was updated successfully, but these errors were encountered:
I am using branch android-0.68.0-rc3 and modify react-native version to 0.68 stable only. When I try
yarn run android
, it return an error log like this.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.3.3/userguide/command_line_interface.html#sec:command_line_warnings
25 actionable tasks: 15 executed, 10 up-to-date
FAILURE: Build failed with an exception.
Execution failed for task ':ReactAndroid:buildNdkBuildDebug'.
make: *** Deleting file 'C:\Users\Fengying\Desktop\RNNewArchitectureApp-run-android-0.68.0-rc3\node_modules\react-native\ReactAndroid\build\intermediates\cxx\Debug\3o3l4z5f/obj/local/armeabi-v7a/libboost.a'
C:/Users/Fengying/AppData/Local/Android/Sdk/ndk/21.4.7075529/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ar: C:\Users\Fengying\Desktop\RNNewArchitectureApp-run-android-0.68.0-rc3\node_modules\react-native\ReactAndroid\build\intermediates\cxx\Debug\3o3l4z5f/obj/local/armeabi-v7a/objs-debug/boost/C_/Users/Fengying/Desktop/RNNewArchitectureApp-run-android-0.68.0-rc3/node_modules/react-native/ReactAndroid/build/third-party-ndk/boost/asm/arm/ontop_arm_aapcs_elf_gas.o: No such file or directory
make: *** [C:/Users/Fengying/AppData/Local/Android/Sdk/ndk/21.4.7075529/build//../build/core/build-binary.mk:600: C:\Users\Fengying\Desktop\RNNewArchitectureApp-run-android-0.68.0-rc3\node_modules\react-native\ReactAndroid\build\intermediates\cxx\Debug\3o3l4z5f/obj/local/armeabi-v7a/libboost.a] Error 1
make: *** Waiting for unfinished jobs....
BUILD FAILED in 4m 54s
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
FAILURE: Build failed with an exception.
Execution failed for task ':ReactAndroid:buildNdkBuildDebug'.
BUILD FAILED in 4m 54s
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.
The text was updated successfully, but these errors were encountered: