'Can't initialize/start emulator after press F5 without starting emulator device VS 2019/2022

If in a new project I start the emulator device and next press F5 the project is showed in the device correctly, but if I miss step one and directly press F5 it returns the error of the tittle and at that point doesn't matter what I do that I keep getting the same error message. I removed temporary files, clean the project, build, re-build, reopen Visual Studio,... like something is broken and unfixeable. I'm using VS 2019 and JDK and SDK are updated and this happen in a new PC with Xamarin just installed.

Visual Studio Output

Emulator Configuration



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source