Pratius Dubey
Pratius Dubey

Reputation: 673

Visual Studio Emulator for Android couldn’t determine the host IP address

Whenever I'm trying to debug and run the application using Android Emulator from visual studio 2015 getting some below error. So help me on this, I'm very tried from this error.

The emulator is unable to connect to the device operating system:

Couldn't auto-detect the guest system IP address.

Some functionality might be disabled.

enter image description here

Thanks

Upvotes: 18

Views: 7162

Answers (2)

Ryan
Ryan

Reputation: 635

Two things need to be checked:

  1. VS2015 installed components.

enter image description here

  1. More importantly make sure that vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch) is enabled in Network Connections.

enter image description here

Upvotes: 17

JKennedy
JKennedy

Reputation: 18799

To fix this I:

  • opened Hyper-V Manager
  • Went to Virtual Switch Manager on the Right hand pane
  • Deleted all Virtual Switches
  • Then opened Visual Studio Emulator
  • Deleted all Android Emulators
  • Uninstalled / Reinstalled Android Emulator for Visual Studio
  • Openened Reinstalled Visual Studio Emulator
  • Downloaded an Emulator and Ran and it worked again

Upvotes: 7

Related Questions