Windows Phone 8 emulator can't connect to the internet

后端 未结 14 2370
遥遥无期
遥遥无期 2020-11-28 06:47

I have Windows 8 installed inside of an emulator, and the new WP8 SDK installed on it. My problem is that the emulator can\'t connect to the internet. I don\'t have any prox

14条回答
  •  春和景丽
    2020-11-28 07:06

    After spending about 3 days on this i finally got it working. (on Windows 8 using WiFi)

    1. Start Fresh, Remove HyperV, Restart, Install Hyper V, Restart
    2. Open your VS solution and run the emulator.
    3. When prompted for letting the emulator access the internet say yes.
    4. Let the emulator and your project fully load
    5. Shut down the emulator and VS
    6. Open Network and Sharing Centre
    7. Click change Adapter Settings (on the left hand side)
    8. You should have some new adapter created by HyperV, they should be called "vEthernet(...)"
    9. The ones you are interested in are the vEthernet( Virtual Switch) and vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)
    10. Open the properties on your vEthernet( Virtual Switch) and navigate to the sharing tab.
    11. Choose Allow other Network users to connect and choose the vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch) as the adapter
    12. Ok the changes, and then open the properties on vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)
    13. Disable Internet Protocol Version 6 and double click on Internet Protocol Version 4
    14. Use the following IP address: 169.254.169.177 Subnet mask:255.255.0.0
    15. Click advanced, under the IP settings tab, assign an interface metric: 1
    16. Open VS and re run your project under and emulator, wait a few minutes for it to load.
    17. Try and open IE within the emulator and confirm you have internet access.

    Good luck

提交回复
热议问题