我是 Flutter 框架的新手,当然,也是 Android 编程的新手。我尝试在 android studio 中运行一些使用 ADV 的设备,但不幸的是,当我运行它们时,除了 Pixel XL 设备之外,大多数设备都被卡住了。我不知道为什么 Pixel XL 可以工作,但是例如 Pixel 2 XL 不工作,当然它不仅仅是关于 Pixel 2 XL 我在 nexus 6 上也有同样的问题。我也检查了这个问题,但它没有'不适合我。
AVD Emulator stuck on loading screen in Android Studio
my Laptop specification: OS : Windows 10 x64 / SSD : 512GB / HDD : 1TB
CPU : Core i7-7700HQ 2.80 / Memory : 24GB / Graphic: Geforece GTX 1050
Name: Pixel_2_XL_API_28
CPU/ABI: Google APIs Intel Atom (x86_64)
Path: C:\Users\Behnam.android\avd\Pixel_2_XL_API_28.avd
Target: google_apis [Google APIs] (API level 28)
Skin: pixel_2_xl
SD Card: 512 MB
fastboot.chosenSnapshotFile:
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: pixel_2_xl
hw.lcd.width: 1440
hw.initialOrientation: Portrait
image.androidVersion.api: 28
tag.id: google_apis
hw.mainKeys: no
hw.camera.front: emulated
avd.ini.displayname: Pixel 2 XL API 28
hw.gpu.mode: host
hw.ramSize: 1536
PlayStore.enabled: false
fastboot.forceColdBoot: no
hw.cpu.ncore: 4
hw.keyboard: yes
hw.sensors.proximity: yes
hw.dPad: no
hw.lcd.height: 2880
vm.heapSize: 384
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
hw.audioInput: yes
image.sysdir.1: system-images\android-28\google_apis\x86_64\
showDeviceFrame: yes
hw.camera.back: virtualscene
AvdId: Pixel_2_XL_API_28
hw.lcd.density: 560
hw.arc: false
hw.device.hash2: MD5:1a4fa6b2569f0b76bfb9824b6b6fc976
fastboot.forceChosenSnapshotBoot: no
fastboot.forceFastBoot: yes
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google APIs
runtime.network.latency: none
disk.dataPartition.size: 800M
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
Name: Pixel_XL_API_28
CPU/ABI: Google APIs Intel Atom (x86_64)
Path: C:\Users\Behnam.android\avd\Pixel_XL_API_28.avd
Target: google_apis [Google APIs] (API level 28)
Skin: pixel_xl_silver
SD Card: 512M
fastboot.chosenSnapshotFile:
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: pixel_xl
hw.lcd.width: 1440
hw.initialOrientation: Portrait
image.androidVersion.api: 28
tag.id: google_apis
hw.mainKeys: no
hw.camera.front: emulated
avd.ini.displayname: Pixel XL API 28
hw.gpu.mode: auto
hw.ramSize: 1536
PlayStore.enabled: false
fastboot.forceColdBoot: no
hw.cpu.ncore: 4
hw.keyboard: yes
hw.sensors.proximity: yes
hw.dPad: no
hw.lcd.height: 2560
vm.heapSize: 384
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
hw.audioInput: yes
image.sysdir.1: system-images\android-28\google_apis\x86_64\
showDeviceFrame: yes
hw.camera.back: virtualscene
AvdId: Pixel_XL_API_28
hw.lcd.density: 560
hw.arc: false
hw.device.hash2: MD5:984dbf66b1aaafcdb7e89573ffb74b46
fastboot.forceChosenSnapshotBoot: no
fastboot.forceFastBoot: yes
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google APIs
runtime.network.latency: none
disk.dataPartition.size: 800M
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
最佳答案
终于,我发现了我的问题所在。它来自显卡驱动程序我将显卡驱动程序降级到较低版本(最新版本为376.54)现在一切正常。我的显卡是 Geforece GTX 1050
关于android - 为什么除 android studio 模拟器中的 Pixel XL 设备外,所有 ADV 设备都不能工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52913201/