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

查看:55
本文介绍了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_MACHINESOFTWAREWow6432NodeAndroid SDK Tools" /v Path /d %localappdata%Androidsdk

<小时>

或者手动更新注册表:


Or update the registry manually:

  1. 在 regedit 中,导航到 HKEY_LOCAL_MACHINESOFTWAREWow6432Node.
  2. 创建一个名为 Android SDK Tools 的新密钥.
  3. 导航到该键.
  4. 创建一个名为 Path 的新字符串值.将其值设置为您的 Android SDK 的位置,类似于 C:UsersYourNameAppDataLocalAndroidsdk.
  1. In regedit, navigate to HKEY_LOCAL_MACHINESOFTWAREWow6432Node.
  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:UsersYourNameAppDataLocalAndroidsdk.

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

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