Unable to Create Android Simulated Devices using Visual Studio's Device Manager for macOS
My issue is when I try to create an Android Simulated Device through the Visual Studio For Mac Device Manager it results in the following exception in logs on the "avdmanager" command. This results in the same exception regardless of which API Version I target.
*java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/AvdManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
*
I have re-installed using the installer Visual Studio 17 for Mac also using the clean script found in documentation. I was also able to build the AVD simulated device using Android Studio successfully on API 33 amr64-v8a. Why is Visual Studio unable to? While using Android Studio is a work-around, I'd like to use a single IDE to develop (especially because I'm paying hundreds for it and Android Studio is free).
Not sure if it matters but I have installed the open-jdk-11 and that made no difference. I also set my JAVA_HOME to point directly to my jdk.
Specs:
Visual Studio for Mac Professional 2022 v17
Mac Mini Apple M2 chip