Visual Studio Emulator for Android - An internal virtual network switch is required for emulated devices to run

后端 未结 5 1071
无人及你
无人及你 2020-12-29 15:51

Problem

I want to use Visual Studio Emulator for Android but whenever I try to start it it fails.

The final part of the Log is:



        
5条回答
  •  一向
    一向 (楼主)
    2020-12-29 16:12

    This error took me weeks to finally resolve. The above solutions did not work for me when doing only what was mentioned. Finally I did all of the following which resolved my issue.

    1. Closed all EXD.exe in task manager.
    2. Exported and then deleted all VMs in Hyper-V.
    3. Deleted all Network Switches in Hyper-V (except the default which would not delete).
    4. Deleted my Network Adapters, restarted (it recreated all of them automatically).
    5. Went to Add Remove Program > Selected Microsoft Visual Studio Emulator for Android > Clicked Modify > Clicked Repair.
    6. Ran XdeCleanup.exe in C:\Program Files (x86)\Microsoft XDE\10.0.15063.0.
    7. Went to Network Connections and disabled all unnecessary connections.

    Installed the Emulator again and it worked!!!

提交回复
热议问题