Hello @stuart wines ,
Welcome to Microsoft Q&A forum.
Typically, if you install the necessary workloads and components in Visual Studio, Visual Studio will set configurations automatically.
Please open Visual Studio => click Tools => Options => Xamarin => Android Settings => Java Development Kit Location, verify that the location of the jdk is set correctly(recommend using jdk 11 or higher).
Please also try to reset VS settings by running devenv /ResetSettings
command in Developer Command Prompt for Visual Studio 2022
.
If above methods don’t work, please share us the detailed steps that you have done to install Xamarin support in VS for checking.
Feel free to contact us.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.