mac上android模拟器无法访问网络时解决方法。
My solution using Mac OSX 10.13
I read about it being caused by LAN card and WiFi being enabled, and some approaches seemed complicated to me, so I simply tried this, and it worked:
Disabled WiFi on my laptop.
Switched off the emulator.
Did a cold boot on the emulator (AVD Manager -> on emulator actions -> Cold Boot Now).
After reboot with WiFi disabled the emulator showed proper WiFi connection. I then enabled WiFi on my laptop and everything worked.
My solution using Mac OSX 10.13
I read about it being caused by LAN card and WiFi being enabled, and some approaches seemed complicated to me, so I simply tried this, and it worked:
Disabled WiFi on my laptop.
Switched off the emulator.
Did a cold boot on the emulator (AVD Manager -> on emulator actions -> Cold Boot Now).
After reboot with WiFi disabled the emulator showed proper WiFi connection. I then enabled WiFi on my laptop and everything worked.
展开
评论
点赞