'Visual Studio Emulator for Android' devices are not listed in the Android Device Monitor

前端 未结 3 1200
走了就别回头了
走了就别回头了 2020-12-08 10:20

I can start the VS Emulator devices just fine, but they simply don\'t show up in ADB/Android studio.

I searched and found a similar SO question (same issue, only I i

相关标签:
3条回答
  • 2020-12-08 10:40

    In my case I didn't have that entry in registry. But all you need to do is just create the key Android SDK Tools that entry under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node

    Then add the two keys as shown (right click -> New -> String Value). Add the correct path to your Android SDK. Here is what it should look like:

    Once you add those entries

    adb kill-server adb start-server

    Restart the Visual Studio Emulator for Android then run adb devices and hopefully it should just appear.

    0 讨论(0)
  • 2020-12-08 10:41

    I experienced this issue when i moved my android SDK (due to disc space reasons).

    If you open regedit and go to the following registry entry:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Android SDK Tools

    and edit the value Path to look at your new android sdk location it should work.

    you may have to call:

    adb kill-server
    adb start-server
    

    and relaunch your emulator again to get adb devices to see it but it should show up in the end

    You may also need to restart your machine just to be safe

    0 讨论(0)
  • 2020-12-08 10:45
    • Copy Your ANDROID SDK PATH for me it look like this :

    • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Android SDK Tools.

    Note: if Android SDK Tools folder doesn't exist, Create it under WOW6432Node, And open it, And Create a String Value name it Path :)


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

      • Restart the emulator and you should now be able to see the emulator connected to ADB and associated Android tools.

    You can read this answers :

    Nativescript project running with Visual Studio Emulator

    0 讨论(0)
提交回复
热议问题