Closed rajibulanam closed 9 months ago
Can you share me the which command do you use to run this project & which operating system are you using?
I use Windows 10 64 bit OS To Run project use npm install ... npm start npm run android
'@pushpendersingh/react-native-scanner' library does not currently support the Windows environment.
Hi, I run your project and facing this error.
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
What went wrong: Execution failed for task ':app:buildCMakeDebug[arm64-v8a]'.
C++ build system [build] failed while executing:
@echo off "F:\ANDROID_SDK\cmake\3.18.1\bin\ninja.exe" ^ -C ^ "F:\react-native-scanner-main_2\react-native-scanner-main\example\android\app\.cxx\Debug\2w4f733n\arm64-v8a" ^ appmodules ^ react_codegen_RNReactNativeScannerViewSpec
from F:\react-native-scanner-main_2\react-native-scanner-main\example\android\app ninja: error: mkdir(RNReactNativeScannerViewSpec_autolinked_build/CMakeFiles/react_codegen_RNReactNativeScannerViewSpec.dir/react/renderer/components/RNReactNativeScannerViewSpec): No such file or directory
Try:
2: Task failed with an exception.
What went wrong: java.lang.StackOverflowError (no error message)
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 1m 15s
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 completed with 2 failures.
1: Task failed with an exception.
What went wrong: Execution failed for task ':app:buildCMakeDebug[arm64-v8a]'.
C++ build system [build] failed while executing:
@echo off "F:\ANDROID_SDK\cmake\3.18.1\bin\ninja.exe" ^ -C ^ "F:\react-native-scanner-main_2\react-native-scanner-main\example\android\app\.cxx\Debug\2w4f733n\arm64-v8a" ^ appmodules ^ react_codegen_RNReactNativeScannerViewSpec
from F:\react-native-scanner-main_2\react-native-scanner-main\example\android\app ninja: error: mkdir(RNReactNativeScannerViewSpec_autolinked_build/CMakeFiles/react_codegen_RNReactNativeScannerViewSpec.dir/react/renderer/components/RNReactNativeScannerViewSpec): No such file or directory
Try:
2: Task failed with an exception.
What went wrong: java.lang.StackOverflowError (no error message)
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 1m 15s
info Run CLI with --verbose flag for more details.
PS F:\react-native-scanner-main_2\react-native-scanner-main\example>