vs code is not showing emulator device then if your flutter is properly installed and sdk donot need any update then go to terminal and kill all locks by following command
taskkill /F /IM dart.exe
then restart ide