EAS Build Android JDK Version

Hello everyone,

I try to build my application with Expo SDK 44, until today all builds are working fine but today I got this error from EAS :

[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':expo-font:compileReleaseJavaWithJavac'.
[stderr] > Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'.
[stderr] * Try:
[stderr] 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.
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 4m 48s
Error: Gradle build failed with unknown error. Please see logs for the "Run gradlew" phase.

This project is managed, my version of CLI is : eas-cli/0.50.0 darwin-arm64 node-v16.14.2

check expo doctor section of the logs

[stderr] [07:13:50] Some dependencies are incompatible with the installed expo package version:
[stderr] [07:13:50]  - expo-file-system - expected version: ~13.1.4 - actual version installed: 13.2.1
[stderr] [07:13:50]  - expo-font - expected version: ~10.0.4 - actual version installed: 10.1.0
[stderr] [07:13:50]  - expo-secure-store - expected version: ~11.1.0 - actual version installed: 11.2.0

fix those dependecies, or switch image to JDK 11 android: {image: ""} in build profile in eas.json

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.