问题
After following the blog post on using the Visual Studio Emulator for Android from Android Studio, and starting the emulator, when I am prompted to choose a running emulator, nothing shows up on the list.
I'm running Windows 10 x64.
回答1:
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
.
来源:https://stackoverflow.com/questions/31763470/android-studio-cannot-find-the-visual-studio-emulator