Error when building blank project

  1. SDK Version: ~49.0.13
  2. Platforms(Android/iOS/web/all): Android

I created a new Expo project with this command npx create-expo-app my-app.
When i run expo run:android i receive this error

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64```

My config:
Java version 20.0.2
 "dependencies": {
    "expo": "~49.0.13",
    "expo-status-bar": "~1.6.0",
    "react": "18.2.0",
    "react-native": "0.72.5",
    "expo-splash-screen": "~0.20.5"

I am basically trying to recreate the app building stage in but in my local enviroment in order to fix all the bugs before submiting it using npx eas build --platform android --profile production

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