run:android failed gradle semantic analysis

Please provide the following:

  1. SDK Version: 48.0.6
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I cannot run : expo run:android

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not open settings generic class cache for settings file ‘/Users/xx/Dev/Clients/LCM/app-mobile/xx-xx/android/settings.gradle’ (/Users/xx/.gradle/caches/7.5.1/scripts/5i2wmk6phwp18m4t6qipqun7k).

BUG! exception in phase ‘semantic analysis’ in source unit ‘BuildScript’ Unsupported class file major version 64

Error: /Users/xx/Dev/Clients/LCM/app-mobile/xx-xx/android/gradlew exited with non-zero code: 1

npx @react-native-community/cli doctor :

Android
✓ JDK
✓ Android Studio - Required for building and installing your app on Android
:heavy_multiplication_x: Android SDK - Required for building and installing your app on Android

  • Versions found: 33.0.0
  • Version supported: .b33.0.0
    ✓ ANDROID_HOME

Problem is that .b33.0.0 don’ exist in android studio

May someone can give help ?
thanks

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