nitaliano / react-native-mapbox-gl

A Mapbox GL react native module for creating custom maps
Other
2.16k stars 699 forks source link

Execution failed for task ':react-native-mapbox-gl_maps:compileDebugJavaWithJavac' #1718

Open ubaidmoin opened 2 years ago

ubaidmoin commented 2 years ago

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.

BUILD FAILED in 14s

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.`