Hello! I'm trying to build an Android project that I created in Visual Studio 2022, but I'm getting a rather contradicting error regarding my JDK installation. It says that it needs JDK 11.0 for the selected framework version, but on the next line it says that the designer is incompatible with this version. I have tried installing the latest JDK (version 17.0.1), but I still get the same error. Maybe Rider is not using the newly installed JDK as default for Android builds?
How can I solve this issue?
(The reason why I created the project in VS2022 instead of Rider is because VS offered a pre-made template with a drawer menu layout, whereas Rider did not)