androidvisual-studio-codedartflutter

Visual studio code can't detect emulator device or phone connected


I was running my app with vscode using Android emulator or my phone, however all of a sudden vscode could not identify any device or emulator that I connect (no devices). phone is in debug mode or even the android emulator. Also When I try starting the emulator I get this warning enter image description here


Solution

  • Seems like adb can't be found. Have you updated or moved the (Android) SDK recently?

    You may want to check your platform-tools folder in your Android SDK and if necessary, download the tools again (see this answer).