Android Studio找不到Visual Studio模拟器 [英] Android Studio cannot find the Visual Studio emulator

查看:286
本文介绍了Android Studio找不到Visual Studio模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在遵循博客文章,内容涉及从Android Studio使用Android的Visual Studio模拟器并启动模拟器,当系统提示我选择一个正在运行的模拟器时,没有任何显示列表。

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.

我正在运行Windows 10 x64。

I'm running Windows 10 x64.

推荐答案

打开管理命令提示符,然后输入以下内容;然后重新启动模拟器。

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. 在regedit中,导航至 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node

  2. 创建一个名为 Android SDK Tools 的新密钥。

  3. 导航至该密钥

  4. 创建一个名为 Path 的新字符串值。将其值设置为Android SDK的位置,类似于 C:\Users\YourName\AppData\Local\Android\sdk 。 / li>
  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.

这篇关于Android Studio找不到Visual Studio模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆