[英]Why does the emulator in Android Studio refuse to connect to the internet?
For some time now, the emulator I'm currently using has refused to be connected to the net. 现在有一段时间了,我当前使用的仿真器已拒绝连接到网络。 Now, the PC is connected via WiFi and is browsing.
现在,PC已通过WiFi连接并正在浏览。 Initially I thought that since my PC is connected then the emulator should be, but this is not happening.
最初,我以为既然已经连接了我的PC,那么就应该连接仿真器,但这并没有发生。
I have also switched on the WiFi in the emulator but it is not seeing my hotspot. 我还打开了模拟器中的WiFi,但没有看到我的热点。 Don't know why though physical devices can see same hotspot.
不知道为什么物理设备可以看到相同的热点。
Please How do I connect the emulator to the internet. 请如何将模拟器连接到互联网。
Android Studio version is 2.11 Android Studio版本为2.11
AVD Details AVD详细信息
Name: Nexus_7_Inch
CPU/ABI: Google APIs Intel Atom (x86)
Path: C:\Users\RosyK\.android\avd\Nexus_7_Inch.avd
Target: google_apis [Google APIs] (API level 23)
Skin: nexus_7_2013
SD Card: 100M
hw.dPad: no
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: Nexus 7 2013
vm.heapSize: 64
hw.device.manufacturer: Google
hw.gps: yes
image.androidVersion.api: 23
hw.audioInput: yes
image.sysdir.1: system-images\android-23\google_apis\x86\
tag.id: google_apis
hw.camera.back: none
hw.mainKeys: no
AvdId: Nexus_7_Inch
hw.camera.front: none
hw.lcd.density: 320
runtime.scalefactor: auto
avd.ini.displayname: Nexus 7 Inch
hw.gpu.mode: auto
hw.device.hash2: MD5:47dc70fd92541dd16c19f9efa3e9db62
hw.ramSize: 1536
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google APIs
runtime.network.latency: none
hw.keyboard: yes
hw.sensors.proximity: no
disk.dataPartition.size: 800M
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
将此添加到您的清单
<uses-permission android:name="android.permission.INTERNET"/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.