0

I am trying to install the android SDK manager in flutter but getting the error:

"Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/prefs/AndroidLocationsProvider has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0"

tomerpacific
  • 4,704
  • 13
  • 34
  • 52
Zoraf
  • 191
  • 1
  • 4
  • installing java version 11 and setting JAVA_HOME environment variable to jdk 11 solved my problem – Zoraf Apr 02 '23 at 18:19

0 Answers0