Can't create Android device for .NET Maui development testing
I have downloaded Visual Studio .NET Community 2026. I added the .net Maui workflow and I have created a new solution using it. The solution runs normally in the windows debugger but if I try to use the Android debugger I am getting errors creating the android device.
I am trying to create a Pixel 7 - API 36 device from the Android Device Manager and I get the message:
System image download error.
An error occurred while sending the request.
I have spent a lot of time researching on the web and I am not finding a solution that works. I have tried it both running VS as my regular user and as administrator. I have messed with TLS protocols.
I did notice in one log file that there was a message regarding a certificate:
[ProgressMonitor] downloading did report error with exception: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
But I do not know what server that certificate is referring to.
Has anyone run into this issue and resolved it?
Thanks,
Rob