Android Studio cannot find the Visual Studio emulator
Open an admin command prompt and enter the following; then restart the emulator.
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Android SDK Tools" /v Path /d %localappdata%\Android\sdk
Or update the registry manually:
- In regedit, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node
. - Create a new key named
Android SDK Tools
. - Navigate to that key.
- Create a new string value named
Path
. Set its value to the location of your Android SDK, which will be likeC:\Users\YourName\AppData\Local\Android\sdk
.