【问题标题】:"Visual Studio Android Emulator" for "Android Studio"“Android Studio”的“Visual Studio Android 模拟器”
【发布时间】:2017-02-12 22:01:07
【问题描述】:

我正在使用“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

【问题讨论】:

    标签: android android-studio android-emulator emulation


    【解决方案1】:

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

    1-Open Registry Editor by selecting Run from the Start buttons context menu, typing regedit in the dialog box, and choosing OK.

    2-Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Android SDK Tools in the folder tree on the left.

    3-Modify the Path registry variable to match the path to your Android SDK.

    【讨论】:

    • 看起来Android SDK Tools 不再位于Wow6432Node 注册表目录中。在 Win 10 上使用最新的 android studio 和 SDK。
    • @Jurosh 您必须按照link 中的说明手动创建Android SDK Tools 密钥
    • 您能提供您使用的路径吗?我试图让它“连接”并且遇到同样的问题,即使在将 android sdk 路径放入“路径”变量中的“Wow6432Node\Android SDK 工具”之后它也没有显示。
    猜你喜欢
    • 2015-10-24
    • 1970-01-01
    • 2016-02-08
    • 1970-01-01
    • 1970-01-01
    • 2015-01-17
    • 1970-01-01
    • 1970-01-01
    • 2022-12-17
    相关资源
    最近更新 更多