模拟器:模拟器:警告:UpdateCheck:失败:错误

Emulator: emulator: WARNING: UpdateCheck: Failure: Error

我能够 运行 下面显示的我的 AVD 成功了。 avd

然而,在 API 更新和 Android Studio 更新到 3.0 之后,我无法再次成功 运行 AVD。继续收到以下错误: avd error

我的 AVD 也超级慢,我正在 运行 宁一台 windows PC 与 8GB 内存。

下面是我的AVD详情。

Name: Pixel_API_25

CPU/ABI: Google APIs Intel Atom (x86)

Path: C:\Users\Blah\.android\avd\Pixel_API_25.avd

Target: google_apis [Google APIs] (API level 25)

Skin: pixel

SD Card: 100 MiB

hw.dPad: no

hw.lcd.height: 1920

runtime.network.speed: full

hw.accelerometer: yes

hw.device.name: pixel

vm.heapSize: 256

skin.dynamic: yes

hw.device.manufacturer: Google

hw.lcd.width: 1080

hw.gps: yes

hw.initialOrientation: Portrait

image.androidVersion.api: 25

hw.audioInput: yes

image.sysdir.1: system-images\android-25\google_apis\x86\

tag.id: google_apis

showDeviceFrame: yes

hw.camera.back: emulated

hw.mainKeys: no

AvdId: Pixel_API_25

hw.camera.front: emulated

hw.lcd.density: 480

avd.ini.displayname: Pixel API 25

hw.gpu.mode: auto

hw.device.hash2: MD5:524882cfa9f421413193056700a29392

hw.ramSize: 1024

hw.trackBall: no

PlayStore.enabled: false

fastboot.forceColdBoot: no

hw.battery: yes

hw.cpu.ncore: 2

hw.sdCard: no

tag.display: Google APIs

runtime.network.latency: none

hw.keyboard: yes

hw.sensors.proximity: yes

disk.dataPartition.size: 800M

hw.sensors.orientation: yes

avd.ini.encoding: UTF-8

hw.gpu.enabled: yes

请帮忙。

您应该卸载 HAXM 并重新安装它,确保为其分配至少 2 GB 的内存。当你创建你的模拟设备时,给它的比你给 HAXM 的少,我会说 1 GB 应该会加快速度。但我会建议你更多的 RAM 8 GB 是低的。我的系统在 Google Chrome、Android Studio 和模拟器打开的情况下使用 10 GB。转到新版本时,您还应该转到 File > Invalidate Caches / Restart

可能是你的h/w加速被禁用了。您应该尝试通过 BIOS 启用 h/w 加速。这可能有助于降低速度。

我在使用 Android studio 3.0.1 时遇到了同样的问题,尝试按照上面的方法进行操作但没有成功。

在 "Run/Debug Configurations" 中奇怪地将目标从 "Open Select Deployment Target Dialog" 更改为 "Emulator" 解决了这个问题。

测试应用已安装。安装成功后,我已经恢复了目标仍然有效。

确保您拥有稳定的互联网连接和您首选的代理设置。我的公司代理设置导致了这个错误。

为您的虚拟设备擦除数据也可以解决问题(从“操作”下拉列表中擦除数据)。

清理 Android Studio 项目并重新启动模拟器帮助了我。