Go to launch.json under .vscode and change the target from “device” to “emulator”.
Bruce Ng's software development blog
An archive of solutions of programming problems I have faced in my career
Go to launch.json under .vscode and change the target from “device” to “emulator”.