ant-design-mobile-rn icon indicating copy to clipboard operation
ant-design-mobile-rn copied to clipboard

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

Open opike opened this issue 2 years ago • 1 comments

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 avatar Feb 27 '23 10:02 opike

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)

opike avatar Feb 27 '23 10:02 opike