I am facing this issue on react-native 0.64.0. In guide it says no need to do anything if you are using > 0.60.0.
Configured on iOS everything working fine there.
What went wrong:
Execution failed for task ':react-native-mapbox-gl_maps:compileDebugJavaWithJavac'.
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.
at makeError (/Users/mac/Documents/crowdbotics/victorias-app-32560/node_modules/execa/index.js:174:9)
at /Users/mac/Documents/crowdbotics/victorias-app-32560/node_modules/execa/index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async runOnAllDevices (/Users/mac/Documents/crowdbotics/victorias-app-32560/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:5)
at async Command.handleAction (/Users/mac/Documents/crowdbotics/victorias-app-32560/node_modules/@react-native-community/cli/build/index.js:186: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.`
I am facing this issue on react-native 0.64.0. In guide it says no need to do anything if you are using > 0.60.0. Configured on iOS everything working fine there.
"@react-native-mapbox-gl/maps": "^8.5.0"
"react-native": "0.64.0"
`> Task :react-native-mapbox-gl_maps:compileDebugJavaWithJavac FAILED 201 actionable tasks: 201 executed
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-mapbox-gl_maps:compileDebugJavaWithJavac'.
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 14s
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.`