android - "Visual Studio Android Emulator"为 "Android Studio"

标签 android android-studio android-emulator emulation

我正在使用“Android Studio”,

我想在“Visual Studio Android Emulator”上调试我的应用程序,

我做了这个指南:https://blogs.msdn.microsoft.com/visualstudioalm/2015/07/20/using-the-visual-studio-emulator-for-android-from-android-studio-or-eclipse-with-adt/

但是在“Android Studio”中,我无法在“连接的设备”上找到模拟器:

image of android studio with emulator

最佳答案

我修好了,
由于错误的“sdk 路径位置”,我的模拟器出现了 adb 问题,
我不得不从注册表编辑器中更改它,
解决方法如下:
https://msdn.microsoft.com/en-us/library/mt228282.aspx#ADB

1 - 从“开始”按钮上下文菜单中选择“运行”,在对话框中键入 regedit,然后选择“确定”,打开注册表编辑器。

2-导航到左侧文件夹树中的 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Android SDK Tools。

3-修改 Path 注册表变量以匹配您的 Android SDK 的路径。

关于android - "Visual Studio Android Emulator"为 "Android Studio",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39857345/

相关文章:

android - 如何在按钮中设置textview和drawable之间的距离?

android - 我应该什么时候(在 Activity 生命周期中)保存?

android - 为什么 Gradle 需要这么长时间来构建?

android - 为什么我的相机在另一个 Activity 开始后停止预览?

android - 错误消息 "qemu-system-i386.exe has stopped working"

android - 重建后仪器测试停止工作 : No tests found

java - 如何在android中顺序播放一组图像?

Android Studio 调试和 DDMS

java - Android 应用程序在定义字节缓冲区来读取文件时崩溃

android - 如何在 Android 的 VS 模拟器上打开 react-native 开发菜单?