Windows 10下Android Studio 3.0.1模拟器无法联网求助
Hey there, sorry to hear your Android Studio 3.0.1 emulator’s acting up with the network—let’s walk through some targeted fixes that might work since the standard StackOverflow tips didn’t do the trick for you.
1. Double-check the emulator’s built-in network settings
- Launch your problematic emulator, click the three-dot icon (More Options) on the right sidebar, then select Settings > Network & Internet.
- Make sure Wi-Fi is turned on and connected to the default
AndroidWifinetwork. - Tap the network name, go to Advanced, and check the IP address:
- If it shows a
192.168.x.xrange, DHCP is working; try manually setting DNS servers to8.8.8.8and8.8.4.4here. - If it’s stuck on the old
10.0.2.xdefault range, this might mean the DHCP service is broken—proceed to the next step.
- If it shows a
2. Wipe emulator data to reset network configurations
- Close all running emulators, open Android Studio’s AVD Manager.
- Find the faulty emulator, click the dropdown menu on its right, and select Wipe Data. This clears user data but resets all network-related settings to default.
- Restart the emulator and test the network again.
3. Troubleshoot Windows 10 firewall and proxy interference
- Press
Win+Ito open Settings, go to Network & Internet > Proxy. Ensure "Automatically detect settings" is enabled, and temporarily turn off any manual proxies or VPNs you might be using. - Open Windows Defender Firewall, click Allow an app through firewall, then look for
qemu-system-x86_64.exe(the core emulator process). Make sure it’s allowed for both private and public networks. - Disable any virtual network adapters or VPNs running in the background—these often clash with the emulator’s network routing.
4. Manually edit the emulator’s config file (for 3.0.1 compatibility)
- Close the emulator, navigate to your AVD storage path:
C:\Users\[Your Username]\.android\avd\[Emulator Name]\ - Open the
config.inifile with a text editor, find and modify these lines:hw.gpu.mode=auto net.dns1=8.8.8.8 net.dns2=8.8.4.4 net.eth0.dns1=8.8.8.8 net.eth0.dns2=8.8.4.4 - Save the file, restart the emulator, and check if the network connects.
5. Update emulator components (match 3.0.1’s compatibility)
- Open Android Studio’s SDK Manager, go to the SDK Tools tab.
- Update the
Android Emulatorto the latest version compatible with Studio 3.0.1 (avoid bleeding-edge versions to prevent compatibility gaps). - Verify that
Intel x86 Emulator Accelerator (HAXM installer)is installed and enabled—HAXM issues often cause hidden network failures.
If none of these work, try creating a brand-new AVD using a system mirror compatible with Studio 3.0.1 (like Android 7.1 or 8.0). Corrupted old AVD images are a common culprit for stubborn network issues.
内容的提问来源于stack exchange,提问作者Ali Mirsalari




