doc/articles/common-issues-mobile-debugging.md
If Android or iOS emulators are missing or fail to start in JetBrains Rider, Visual Studio, or Visual Studio Code on macOS or Windows, use the checklists and setup paths below.
adb kill-server && adb start-server, then adb devices.There are several common ways to manage Android Virtual Devices (AVDs):
VS Code doesn’t include a built-in AVD manager. It uses AVDs created by Android Studio, Rider, or Visual Studio and can start them via extensions or the terminal.
Install/verify Android SDK & tools
PATH (e.g., <sdk>/platform-tools and <sdk>/emulator).dotnet workload list (look for android).Start an emulator
Use an extension (e.g., an “Android/iOS Emulator” helper) to start/stop AVDs from the Command Palette, or
Use the terminal:
emulator -list-avds
emulator -avd <your_avd_name>
adb devices
Make VS Code see the device
adb devices shows it, then relaunch the debugger.Troubleshooting in VS Code
ANDROID_SDK_ROOT (or ANDROID_HOME) points to the correct SDK.Enable Windows Hypervisor Platform (and Hyper-V on supported editions), then reboot. Avoid conflicts with other hypervisors (e.g., VirtualBox in non-Hyper-V mode).
Install the latest Xcode from the App Store and launch it once to accept the license.
Verify the Simulator runs: Xcode → Window → Devices and Simulators.
If your IDE can’t find the Simulator, start it manually or reboot.
Inspect available simulators:
xcrun simctl list devices
ANDROID_SDK_ROOT (recommended) or ANDROID_HOME (legacy).~/Library/Android/sdk%LOCALAPPDATA%\Android\Sdk (or a custom C:\Android\Sdk)~/Android/Sdk~/.android/avd (macOS/Linux) or %USERPROFILE%\.android\avd (Windows)