Android Studio cannot find the Visual Studio emulator

烂漫一生 提交于 2019-12-17 23:25:38

问题


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:

  1. In regedit, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node.
  2. Create a new key named Android SDK Tools.
  3. Navigate to that key.
  4. Create a new string value named Path. Set its value to the location of your Android SDK, which will be like C:\Users\YourName\AppData\Local\Android\sdk.


来源:https://stackoverflow.com/questions/31763470/android-studio-cannot-find-the-visual-studio-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!