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

Seeing error [1] FAILURE: Build failed with an exception. [1] [1] * What went wrong: [1] Execution failed for task ':react-native-reanimated:compileDebugJavaWithJavac'. #1288

Open
opike opened this issue Feb 27, 2023 · 1 comment

Comments

@opike
Copy link

opike commented Feb 27, 2023

Reproduction link

https://github.com/ant-design/ant-design-mobile-rn

Steps to reproduce

Using the base install of https://github.com/ant-design/ant-design-mobile-rn

Went though the configuration and setup and encountered the error. Tried deleting node_modules and yarn.lock and rerun yarn and still getting the same error.

What is expected?

When running "yarn android", the kitchen sink sample will open successfully in the connected android device.

What is actually happening?

Getting this error message in the console:

[1] FAILURE: Build failed with an exception.
[1]
[1] * What went wrong:
[1] Execution failed for task ':react-native-reanimated:compileDebugJavaWithJavac'.
[1] > Compilation failed; see the compiler error output for details.
[1]
[1] * Try:
[1] 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.
[1]
[1] * Get more help at https://help.gradle.org

Environment Info
antd 5.0.4
React 17.0.2
System Mac OS 13.1
Browser NA

NDK version: 25.2.9519653

I have other react native samples that open successfully using the same combination of laptop and connected android device.

@opike
Copy link
Author

opike commented Feb 27, 2023

Here's the java version:
MacBook-Pro-1:ant-design-mobile-rn$ java --version
openjdk 11.0.18 2023-01-17 LTS
OpenJDK Runtime Environment Zulu11.62+17-CA (build 11.0.18+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.62+17-CA (build 11.0.18+10-LTS, mixed mode)

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