When Creating a Cordova project in Visual Studio Code, using the Cordova command "Cordova platform add android" adds the latest Android platform 7.1.0 to your Cordova project.
You can encounter issues while debugging the project with this latest version, since Android platform versions 7.0.0 and 7.1.0 have a known issue with starting the browser simulation.
To resolve this issue, you can install Android platform version 6.4.0 using the following Cordova command:
Cordova platform add android@6.4.0