0
Hello,
I need to put the app to read the Qrcode and in the tutorial I’m finding speaks to use the React-Native-camera. I’m just not getting the camera to work.
I already made the configuration that talks on the link topic https://github.com/react-native-community/react-native-camera/blob/master/docs/installation.md#Requirements
Even so it keeps giving error and does not open the application. Follows the error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-camera:compileGeneralDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* 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 17s
at checkExecSyncError (child_process.js:629:11)
at execFileSync (child_process.js:647:13)
at runOnAllDevices (D:\Projetos_ReactNative\Exemplos\reactnativecamera\node_modules\@r
eact-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:75
:39)
at buildAndRun (D:\Projetos_ReactNative\Exemplos\reactnativecamera\node_modules\@react
-native-community\cli-platform-android\build\commands\runAndroid\index.js:137:41)
at then.result (D:\Projetos_ReactNative\Exemplos\reactnativecamera\node_modules\@react
-native-community\cli-platform-android\build\commands\runAndroid\index.js:103:12)
at process._tickCallback (internal/process/next_tick.js:68:7)
What version of React-Native you are using?
– sant0will
"React": "16.8.6", "React-Native": "0.60.0",
– Alex Passos