【问题标题】:Android TV Emulator: No Internet AccessAndroid TV 模拟器:无法上网
【发布时间】:2016-03-02 15:51:24
【问题描述】:

当我在 Android TV 模拟器上运行我的应用程序时,它无法访问互联网。

我以为这是我的代码,但是当我在 Nexus 5 等手机模拟器上运行同一个应用程序时,它可以正常访问互联网。

可能出了什么问题?


Android_TV_1080p_API_23.avd、config.ini:

avd.ini.encoding=UTF-8
AvdId=Android_TV_1080p_API_23
abi.type=x86
avd.ini.displayname=Android TV (1080p) API 23
disk.dataPartition.size=200M
hw.accelerometer=no
hw.audioInput=yes
hw.battery=no
hw.camera.back=none
hw.camera.front=none
hw.cpu.arch=x86
hw.dPad=yes
hw.device.hash2=MD5:f26df701fd74415b9a435e3e607b5d8a
hw.device.manufacturer=Google
hw.device.name=Android TV (1080p)
hw.gps=yes
hw.gpu.enabled=yes
hw.initialOrientation=landscape
hw.keyboard=yes
hw.keyboard.lid=yes
hw.lcd.density=320
hw.mainKeys=yes
hw.ramSize=1536
hw.sdCard=yes
hw.sensors.orientation=no
hw.sensors.proximity=no
hw.trackBall=no
image.sysdir.1=system-images\android-23\android-tv\x86\
runtime.network.latency=none
runtime.network.speed=full
runtime.scalefactor=0.5
sdcard.path=C:\...\Android_TV_1080p_API_23.avd\sdcard.img
skin.dynamic=yes
skin.name=1920x1080
skin.path=1920x1080
snapshot.present=no
tag.display=Android TV
tag.id=android-tv
vm.heapSize=128

【问题讨论】:

标签: android android-studio android-emulator avd android-tv


【解决方案1】:

我也遇到了这个问题,无法在 API 23 中解决,但在 22 或 21 上使用模拟器,你就可以了。

【讨论】:

    【解决方案2】:

    将模拟器图像更新为棉花糖将解决此问题

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-04-06
      • 1970-01-01
      • 2019-03-03
      • 2019-08-07
      • 1970-01-01
      • 1970-01-01
      • 2014-01-11
      相关资源
      最近更新 更多