Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ubaidmoin opened this issue Mar 3, 2022 · 0 comments

Comments

@ubaidmoin
Copy link

ubaidmoin commented Mar 3, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant