Android模拟器无法启动 [英] Android Emulator Does not Launch

查看:185
本文介绍了Android模拟器无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试2个多星期后,我正在努力使模拟器成功启动.对于这个问题,我真的可以使用一些帮助,也可以在故障排除方面使用一些技巧.

I am struggling to get the emulator launch successfully after trying for over 2 weeks. I can really use some help with the issue or tips on troubleshooting the same.

我已经能够使用非常相似的配置在家用计算机上成功启动模拟器.当我从工作PC上连接时,它失败了,我相信可能有某些配置正在阻止该配置,但是我不知道该配置是什么,并且我在日志中看不到任何可以帮助我确定问题的错误.这也是我的同事们普遍遇到的问题,因此,我确定这是在我们的工作站上设置的某些策略或注册表设置.

I have been able to launch the emulator successfully on my home machine using very similar config. It fails when I connect from my work PC, I believe there is a some configuration that may be stopping this, but I have no clue what that configuration is and I don't see any error in the logs that can help me identify the issue. This is a general problem with my colleagues as well, so I am certain it's some policy or registry setting that has been set on our workstations.

如果有人可以帮助我确定阻止仿真器启动的配置,那么我可以与IT团队一起进行必要的更改.

If someone can help me identify the config that is stopping the launch of the emulator I can work with the IT team to make required changes.

我的配置是

  • Android Studio 1.2.1.1
  • SDK/AVD Manager v 24.3.3
  • Windows 7 x64
  • 16 GB RAM
  • DELL E6540笔记本电脑| DELL Optiplex 780台式机
  • 已安装HAXM
  • 尝试使用
  • CPU选项:Intel x86/x86_x64& Arm v7a
  • 尝试了RAM选项:768MB,1GB和2GB
  • 主机GPU:尝试开启和关闭
  • 在BIOS中启用了虚拟化
  • Android Studio 1.2.1.1
  • SDK/AVD Manager v 24.3.3
  • Windows 7 x64
  • 16 GB RAM
  • DELL E6540 Laptop | DELL Optiplex 780 desktop
  • HAXM Installed
  • CPU options tried: Intel x86/x86_x64 & Arm v7a
  • RAM options tried: 768MB,1GB and 2GB
  • Host GPU: Tried with both on and off
  • Virtualization is enabled in BIOS

可以很好地创建虚拟设备,但是永远无法成功启动.我从没见过窗户开着,我已经等了两个多小时了.

The Virtual Device gets created fine, but never launches successfully. I never see a window open, I have waited for more than 2 hours at several occasions.

这是我创建的三个AVD的日志

Here are the logs of three AVDs I created

手臂v7a | 768 MB内存| Android 5.1.1 | API 22 |关闭主机GPU

Arm v7a | 768 MB RAM | Android 5.1.1 | API 22 | Host GPU Off

输出:

emulator:Found AVD name 'avd1'
emulator:Found AVD target architecture: arm
emulator:Looking for ranchu emulator backed for arm CPU
emulator:Probing program: ./emulator64-ranchu-arm.exe
emulator:Probing program: ./emulator-ranchu-arm.exe
emulator:Probing path for: emulator64-ranchu-arm.exe
emulator:Probing path for: emulator-ranchu-arm.exe
emulator:Looking for emulator-arm to emulate 'arm' CPU
emulator:Probing program: ./emulator-arm.exe
emulator:Found target-specific emulator binary: ./emulator-arm.exe
emulator:GPU emulation is disabled
emulator:Quoted param: [./emulator-arm.exe]
emulator:Quoted param: [@avd1]
emulator:Quoted param: [-verbose]
emulator: found SDK root at C:\Users\Anon\AppData\Local\Android\sdk
emulator: Android virtual device file at: C:\Users\Anon\.android\avd\avd1.ini
emulator: virtual device content at C:\Users\Anon\.android\avd\avd1.avd
emulator: virtual device config file: C:\Users\Anon\.android\avd\avd1.avd/config.ini
emulator: using core hw config path: C:\Users\Anon\.android\avd\avd1.avd/hardware-qemu.ini
emulator: Found AVD target API level: 22
emulator: Read property file at C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-22\default\armeabi-v7a\/build.prop
emulator: No boot.prop property file found.
emulator: 'magic' skin format detected: 768x1280
emulator: autoconfig: -skin 768x1280
emulator: autoconfig: -skindir (null)
emulator: keyset loaded from: C:\Users\Anon\.android\default.keyset
emulator: found magic skin width=768 height=1280 bpp=16

emulator: autoconfig: -kernel C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-22\default\armeabi-v7a\/kernel-qemu
emulator: Auto-detect: Kernel image requires legacy device naming scheme.
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.
emulator: autoconfig: -ramdisk C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-22\default\armeabi-v7a\/ramdisk.img
emulator: Using initial system image: C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-22\default\armeabi-v7a\/system.img
emulator: autoconfig: -initdata C:\Users\Anon\.android\avd\avd1.avd/userdata.img
emulator: autoconfig: -cache C:\Users\Anon\.android\avd\avd1.avd/cache.img
emulator: Physical RAM size: 768MB

emulator: GPU emulation is disabled
emulator: WARNING: CPU acceleration only works with x86/x86_64 system images.
Content of hardware configuration file:
  hw.cpu.arch = arm
  hw.cpu.model = cortex-a8
  hw.ramSize = 768
  hw.screen = touch
  hw.mainKeys = no
  hw.trackBall = no
  hw.keyboard = yes
  hw.keyboard.lid = no
  hw.keyboard.charmap = qwerty2
  hw.dPad = no
  hw.gsmModem = yes
  hw.gps = yes
  hw.battery = yes
  hw.accelerometer = yes
  hw.audioInput = yes
  hw.audioOutput = yes
  hw.sdCard = no
  disk.cachePartition = yes
  disk.cachePartition.path = C:\Users\Anon\.android\avd\avd1.avd/cache.img
  disk.cachePartition.size = 66m
  hw.lcd.width = 768
  hw.lcd.height = 1280
  hw.lcd.depth = 16
  hw.lcd.density = 320
  hw.lcd.backlight = yes
  hw.gpu.enabled = no
  hw.initialOrientation = portrait
  hw.camera.back = none
  hw.camera.front = none
  vm.heapSize = 64
  hw.sensors.proximity = yes
  hw.sensors.magnetic_field = yes
  hw.sensors.orientation = yes
  hw.sensors.temperature = yes
  hw.useext4 = yes
  kernel.path = C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-22\default\armeabi-v7a\/kernel-qemu
  kernel.parameters =  androidboot.hardware=goldfish android.checkjni=1
  kernel.newDeviceNaming = no
  kernel.supportsYaffs2 = no
  disk.ramdisk.path = C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-22\default\armeabi-v7a\/ramdisk.img
  À¿)pV)ußK³ªc¥ú&µß>Oí‡yù®ù×=Vš§Ùïq—#ÊÿŠÿ¿Ù&Òßué—!MáÍFåÿ¾U)›±„yþ¿ƒð—ˆ_ˆøõÊ'Ò?{’é×@zQ¿Ü•úíÈQêñ©•„yÖ/þ[â—"~ü«|ü¶,%~em.img
  disk.systemPartition.size = 550m
  disk.dataPartition.path = C:\Users\Anon\.android\avd\avd1.avd/userdata-qemu.img
  disk.dataPartition.initPath = C:\Users\Anon\.android\avd\avd1.avd/userdata.img
  disk.dataPartition.size = 550m
  avd.name = avd1
.
QEMU options list:
emulator: argv[00] = "./emulator-arm.exe"
emulator: argv[01] = "-android-hw"
emulator: argv[02] = "C:\Users\Anon\.android\avd\avd1.avd/hardware-qemu.ini"
Concatenated QEMU options:
 ./emulator-arm.exe -android-hw C:\Users\Anon\.android\avd\avd1.avd/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: Using kernel serial device prefix: ttyS
emulator: Ramdisk image contains fstab.goldfish file
emulator: Found format of system partition: 'ext4'
emulator: Found format of userdata partition: 'ext4'
emulator: Found format of cache partition: 'ext4'
emulator: system partition format: ext4
emulator: Mapping 'system' partition image to C:\Users\Anon\AppData\Local\Temp\\AndroidEmulator\TMP2084.tmp
emulator: nand_add_dev: system,size=0x22600000,file=C:\Users\Anon\AppData\Local\Temp\\AndroidEmulator\TMP2084.tmp,initfile=C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-22\default\armeabi-v7a\/system.img,pagesize=512,extrasize=0
emulator: userdata partition format: ext4
emulator: nand_add_dev: userdata,size=0x22600000,file=C:\Users\Anon\.android\avd\avd1.avd/userdata-qemu.img,initfile=C:\Users\Anon\.android\avd\avd1.avd/userdata.img,pagesize=512,extrasize=0
emulator: cache partition format: ext4
emulator: Creating empty cache partition image at: C:\Users\Anon\.android\avd\avd1.avd/cache.img
Creating filesystem with parameters:
    Size: 69206016
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 4224
    Inode size: 256
    Journal blocks: 1024
    Label: 
    Blocks: 16896
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 11/4224 inodes and 1302/16896 blocks
emulator: nand_add_dev: cache,size=0x4200000,file=C:\Users\Anon\.android\avd\avd1.avd/cache.img,pagesize=512,extrasize=0
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '64m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '320'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '0'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'none'
emulator: Kernel parameters: qemu.gles=0 qemu=1 console=ttyS0 android.qemud=ttyS1 androidboot.hardware=goldfish android.checkjni=1 ndns=3
emulator: autoconfig: -scale 0.801562

AVD 2

英特尔凌动x86 | 1536 MB内存| Android 4.3.1 | API 18 |使用主机GPU开启

AVD 2

Intel Atom x86 | 1536 MB RAM | Android 4.3.1 | API 18 | Use Host GPU ON

emulator:Found AVD name 'avd2'
emulator:Found AVD target architecture: x86
emulator:Looking for ranchu emulator backed for x86 CPU
emulator:Probing program: ./emulator64-ranchu-x86.exe
emulator:Probing program: ./emulator-ranchu-x86.exe
emulator:Probing path for: emulator64-ranchu-x86.exe
emulator:Probing path for: emulator-ranchu-x86.exe
emulator:Looking for emulator-x86 to emulate 'x86' CPU
emulator:Probing program: ./emulator-x86.exe
emulator:Found target-specific emulator binary: ./emulator-x86.exe
emulator:GPU emulation enabled using 'host' mode
emulator:Quoted param: [./emulator-x86.exe]
emulator:Quoted param: [@avd2]
emulator:Quoted param: [-verbose]
emulator: found SDK root at C:\Users\Anon\AppData\Local\Android\sdk
emulator: Android virtual device file at: C:\Users\Anon\.android\avd\avd2.ini
emulator: virtual device content at C:\Users\Anon\.android\avd\avd2.avd
emulator: virtual device config file: C:\Users\Anon\.android\avd\avd2.avd/config.ini
emulator: using core hw config path: C:\Users\Anon\.android\avd\avd2.avd/hardware-qemu.ini
emulator: Found AVD target API level: 18
emulator: Read property file at C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-18\default\x86\/build.prop
emulator: No boot.prop property file found.
emulator: 'magic' skin format detected: 768x1280
emulator: autoconfig: -skin 768x1280
emulator: autoconfig: -skindir (null)
emulator: keyset loaded from: C:\Users\Anon\.android\default.keyset
emulator: trying to load skin file 'C:\Users\Anon\AppData\Local\Android\sdk/tools/lib/emulator/skins/dynamic//layout'
emulator: loaded dynamic skin width=768 height=1280 bpp=16

emulator: autoconfig: -kernel C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-18\default\x86\/kernel-qemu
emulator: Auto-detect: Kernel image requires legacy device naming scheme.
emulator: Auto-detect: Kernel does support YAFFS2 partitions.
emulator: autoconfig: -ramdisk C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-18\default\x86\/ramdisk.img
emulator: Using initial system image: C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-18\default\x86\/system.img
emulator: autoconfig: -initdata C:\Users\Anon\.android\avd\avd2.avd/userdata.img
emulator: autoconfig: -cache C:\Users\Anon\.android\avd\avd2.avd/cache.img
emulator: Physical RAM size: 1536MB

emulator: GPU emulation enabled using 'host' mode
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: HAX (version 2) is installed and usable.
emulator: Target arch = 'x86'
emulator: Auto-config: -qemu -cpu qemu32
Content of hardware configuration file:
  hw.cpu.arch = x86
  hw.cpu.model = qemu32
  hw.ramSize = 1536
  hw.screen = touch
  hw.mainKeys = no
  hw.trackBall = no
  hw.keyboard = yes
  hw.keyboard.lid = no
  hw.keyboard.charmap = qwerty2
  hw.dPad = no
  hw.gsmModem = yes
  hw.gps = yes
  hw.battery = yes
  hw.accelerometer = yes
  hw.audioInput = yes
  hw.audioOutput = yes
  hw.sdCard = no
  disk.cachePartition = yes
  disk.cachePartition.path = C:\Users\Anon\.android\avd\avd2.avd/cache.img
  disk.cachePartition.size = 66m
  hw.lcd.width = 768
  hw.lcd.height = 1280
  hw.lcd.depth = 16
  hw.lcd.density = 320
  hw.lcd.backlight = yes
  hw.gpu.enabled = yes
  hw.gpu.mode = host
  hw.initialOrientation = portrait
  hw.camera.back = emulated
  hw.camera.front = emulated
  vm.heapSize = 64
  hw.sensors.proximity = yes
  hw.sensors.magnetic_field = yes
  hw.sensors.orientation = yes
  hw.sensors.temperature = yes
  hw.useext4 = yes
  kernel.path = C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-18\default\x86\/kernel-qemu
  kernel.parameters =  androidboot.hardware=goldfish clocksource=pit android.checkjni=1
  kernel.newDeviceNaming = no
  kernel.supportsYaffs2 = yes
  disk.ramdisk.path = C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-18\default\x86\/ramdisk.img
  disk.systemPartition.initPath = C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-18\default\x86\/system.img
  disk.systemPartition.size = 281m
  disk.dataPartition.path = C:\Users\Anon\.android\avd\avd2.avd/userdata-qemu.img
  disk.dataPartition.initPath = C:\Users\Anon\.android\avd\avd2.avd/userdata.img
  disk.dataPartition.size = 200m
  avd.name = avd2
.
QEMU options list:
emulator: argv[00] = "./emulator-x86.exe"
emulator: argv[01] = "-enable-hax"
emulator: argv[02] = "-android-hw"
emulator: argv[03] = "C:\Users\Anon\.android\avd\avd2.avd/hardware-qemu.ini"
Concatenated QEMU options:
 ./emulator-x86.exe -enable-hax -android-hw C:\Users\Anon\.android\avd\avd2.avd/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: Using kernel serial device prefix: ttyS
emulator: Ramdisk image contains fstab.goldfish file
emulator: Could not extract format of system partition!
emulator: Could not extract format of userdata partition!
emulator: Could not extract format of cache partition!
emulator: Probing system image file for partition type: C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-18\default\x86\/system.img
emulator: system partition format: yaffs2
emulator: Mapping 'system' partition image to C:\Users\Anon\AppData\Local\Temp\\AndroidEmulator\TMPA30C.tmp
emulator: nand_add_dev: system,size=0x11900000,file=C:\Users\Anon\AppData\Local\Temp\\AndroidEmulator\TMPA30C.tmp,initfile=C:\Users\Anon\AppData\Local\Android\sdk/system-images\android-18\default\x86\/system.img
emulator: rounding devsize up to a full eraseunit, now 11904000

emulator: Probing userdata image file for partition type: C:\Users\Anon\.android\avd\avd2.avd/userdata.img
emulator: userdata partition format: yaffs2
emulator: nand_add_dev: userdata,size=0xc800000,file=C:\Users\Anon\.android\avd\avd2.avd/userdata-qemu.img,initfile=C:\Users\Anon\.android\avd\avd2.avd/userdata.img
emulator: rounding devsize up to a full eraseunit, now c810000

emulator: cache partition format: yaffs2
emulator: Creating empty cache partition image at: C:\Users\Anon\.android\avd\avd2.avd/cache.img
emulator: nand_add_dev: cache,size=0x4200000,file=C:\Users\Anon\.android\avd\avd2.avd/cache.img
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '64m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '320'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '0'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'both'
emulator: Initializing hardware OpenGLES emulation support
emulator: OpenGL Vendor=[Google (Intel)]
emulator: OpenGL Renderer=[Android Emulator OpenGL ES Translator (Intel(R) HD Graphics 4600)]
emulator: OpenGL Version=[OpenGL ES 2.0 (4.0.0 - Build 9.18.10.3220)]
emulator: Adding boot property: 'ro.opengles.version' = '131072'
emulator: device fd:988

emulator: Kernel parameters: qemu.gles=1 qemu=1 console=ttyS0 android.qemud=ttyS1 androidboot.hardware=goldfish clocksource=pit android.checkjni=1 ndns=3
emulator:     trying to find: C:\Users\Anon\AppData\Local\Android\sdk\tools/bios.bin

emulator:     trying to find: C:\Users\Anon\AppData\Local\Android\sdk\tools/lib/pc-bios/bios.bin

emulator:     trying to find: C:\Users\Anon\AppData\Local\Android\sdk\tools/vgabios-cirrus.bin

emulator:     trying to find: C:\Users\Anon\AppData\Local\Android\sdk\tools/lib/pc-bios/vgabios-cirrus.bin

emulator: autoconfig: -scale 0.801562

AVD 3

ARM | 512 MB内存| Android 2.3.3 | API 10 |关闭使用主机GPU

AVD 3

ARM | 512 MB RAM | Android 2.3.3 | API 10 | Use Host GPU OFF

emulator:Found AVD name 'avd3'
emulator:Found AVD target architecture: arm
emulator:Looking for ranchu emulator backed for arm CPU
emulator:Probing program: ./emulator64-ranchu-arm.exe
emulator:Probing program: ./emulator-ranchu-arm.exe
emulator:Probing path for: emulator64-ranchu-arm.exe
emulator:Probing path for: emulator-ranchu-arm.exe
emulator:Looking for emulator-arm to emulate 'arm' CPU
emulator:Probing program: ./emulator-arm.exe
emulator:Found target-specific emulator binary: ./emulator-arm.exe
emulator:GPU emulation is disabled
emulator:Quoted param: [./emulator-arm.exe]
emulator:Quoted param: [@avd3]
emulator:Quoted param: [-verbose]
emulator: found SDK root at C:\Users\Anon\AppData\Local\Android\sdk
emulator: Android virtual device file at: C:\Users\Anon\.android\avd\avd3.ini
emulator: virtual device content at C:\Users\Anon\.android\avd\avd3.avd
emulator: virtual device config file: C:\Users\Anon\.android\avd\avd3.avd/config.ini
emulator: using core hw config path: C:\Users\Anon\.android\avd\avd3.avd/hardware-qemu.ini
emulator: Found AVD target API level: 10
emulator: No build.prop property file found.
emulator: No boot.prop property file found.
emulator: Cannot find target CPU architecture, defaulting to 'arm'
emulator: Cannot find target CPU ABI, defaulting to 'armeabi'
emulator: found skin 'WQVGA400' in directory: C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\skins
emulator: autoconfig: -skin WQVGA400
emulator: autoconfig: -skindir C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\skins
emulator: found skin-specific hardware.ini: C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\skins/WQVGA400/hardware.ini
emulator: keyset loaded from: C:\Users\Anon\.android\default.keyset
emulator: trying to load skin file 'C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\skins/WQVGA400/layout'
emulator: skin network speed: 'full'
emulator: skin network delay: 'none'
emulator: autoconfig: -kernel C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\images\/kernel-qemu
emulator: Auto-detect: Kernel image requires legacy device naming scheme.
emulator: Auto-detect: Kernel does support YAFFS2 partitions.
emulator: autoconfig: -ramdisk C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\images\/ramdisk.img
emulator: Using initial system image: C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\images\/system.img
emulator: autoconfig: -data C:\Users\Anon\.android\avd\avd3.avd/userdata-qemu.img
emulator: autoconfig: -initdata C:\Users\Anon\.android\avd\avd3.avd/userdata.img
emulator: autoconfig: -cache C:\Users\Anon\.android\avd\avd3.avd/cache.img
emulator: Physical RAM size: 256MB

emulator: GPU emulation is disabled
emulator: WARNING: CPU acceleration only works with x86/x86_64 system images.
emulator: Target arch = 'arm'
Content of hardware configuration file:
  hw.cpu.arch = arm
  hw.ramSize = 256
  hw.screen = touch
  hw.mainKeys = yes
  hw.trackBall = yes
  hw.keyboard = yes
  hw.keyboard.lid = yes
  hw.keyboard.charmap = qwerty2
  hw.dPad = no
  hw.gsmModem = yes
  hw.gps = yes
  hw.battery = yes
  hw.accelerometer = yes
  hw.audioInput = yes
  hw.audioOutput = yes
  hw.sdCard = yes
  disk.cachePartition = yes
  disk.cachePartition.path = C:\Users\Anon\.android\avd\avd3.avd/cache.img
  disk.cachePartition.size = 66m
  hw.lcd.width = 240
  hw.lcd.height = 400
  hw.lcd.depth = 16
  hw.lcd.density = 120
  hw.lcd.backlight = yes
  hw.gpu.enabled = no
  hw.initialOrientation = portrait
  hw.camera.back = none
  hw.camera.front = none
  vm.heapSize = 32
  hw.sensors.proximity = yes
  hw.sensors.magnetic_field = yes
  hw.sensors.orientation = no
  hw.sensors.temperature = yes
  hw.useext4 = yes
  kernel.path = C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\images\/kernel-qemu
  kernel.parameters =  androidboot.hardware=goldfish android.checkjni=1
  kernel.newDeviceNaming = no
  kernel.supportsYaffs2 = yes
  disk.ramdisk.path = C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\images\/ramdisk.img
  disk.systemPartition.initPath = C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\images\/system.img
  disk.systemPartition.size = 200m
  disk.dataPartition.path = C:\Users\Anon\.android\avd\avd3.avd/userdata-qemu.img
  disk.dataPartition.size = 200m
  avd.name = avd3
.
QEMU options list:
emulator: argv[00] = "./emulator-arm.exe"
emulator: argv[01] = "-android-hw"
emulator: argv[02] = "C:\Users\Anon\.android\avd\avd3.avd/hardware-qemu.ini"
Concatenated QEMU options:
 ./emulator-arm.exe -android-hw C:\Users\Anon\.android\avd\avd3.avd/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: Using kernel serial device prefix: ttyS
emulator: No fstab.goldfish file in ramdisk image
emulator: Probing system image file for partition type: C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\images\/system.img
emulator: system partition format: yaffs2
emulator: Mapping 'system' partition image to C:\Users\Anon\AppData\Local\Temp\\AndroidEmulator\TMPE615.tmp
emulator: nand_add_dev: system,size=0xc800000,file=C:\Users\Anon\AppData\Local\Temp\\AndroidEmulator\TMPE615.tmp,initfile=C:\Users\Anon\AppData\Local\Android\sdk/platforms\android-10\images\/system.img
emulator: rounding devsize up to a full eraseunit, now c810000

emulator: Probing userdata image file for partition type: C:\Users\Anon\.android\avd\avd3.avd/userdata-qemu.img
emulator: userdata partition format: yaffs2
emulator: nand_add_dev: userdata,size=0xc800000,file=C:\Users\Anon\.android\avd\avd3.avd/userdata-qemu.img
emulator: rounding devsize up to a full eraseunit, now c810000

emulator: cache partition format: yaffs2
emulator: nand_add_dev: cache,size=0x4200000,file=C:\Users\Anon\.android\avd\avd3.avd/cache.img
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '32m'
emulator: Adding boot property: 'ro.config.low_ram' = 'true'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '120'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '1'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'none'
emulator: Kernel parameters: qemu.gles=0 qemu=1 console=ttyS0 android.qemud=ttyS1 androidboot.hardware=goldfish android.checkjni=1 ndns=3
emulator: autoconfig: -scale 1

推荐答案

您是否已正确安装HAXM?

Have you installed properly the HAXM?

在学习之前,我遇到过相同的问题 在Android sdk管理器中将其下载后, HAXM尚未启用.

I encounter same issue before, before learning that HAXM is not yet enabled after downloading it in android sdk manager.

您需要采取一些步骤,才能使用Intel HAXM驱动程序充分利用Android *模拟器获得最佳体验.

You need some steps to follow to fully get the best experience out of the Android* emulator using the Intel HAXM driver.

先决条件

Intel HAXM需要安装Android * SDK(版本17或更高版本).有关更多信息,请访问Android *开发人员网站( http://developer.android.com/sdk/).

Intel HAXM requires the Android* SDK to be installed (version 17 or higher). For more information, refer to the Android* developer website (http://developer.android.com/sdk/).

System Requirements

Hardware Requirements:

Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
At least 1 GB of available RAM
Supported Operating Systems:

Microsoft Windows* 8 and 8.1 (32/64-bit)
Microsoft Windows* 7 (32/64-bit)
Microsoft Windows Vista* (32/64-bit)
Important: Intel HAXM cannot be used on systems without an Intel processor, or with an Intel processor that lacks the hardware features described in the "Hardware Requirements" section above.
To determine the capabilities of your Intel processor, visit http://ark.intel.com/
Additionally, Intel HAXM can be used only with Android* x86 emulator images provided by Intel. 
Intel HAXM cannot be used with ARM* Android* emulator images or non-Intel x86 Android* emulator images.

  1. 在主SDK目录下.即使SDK管理器显示已安装",实际上也意味着已下载了英特尔HAXM可执行文件.您仍然需要从"extras"目录运行安装程序以进行安装.

2.解压缩"extras"目录中的安装程序,并按照您平台的安装说明进行操作.

2.Extract the installer inside the "extras" directory and follow the installation instructions for your platform.

在Windows *上安装英特尔®HAXM *

Installing Intel® HAXM on Windows*

警告:如果您的系统不满足系统要求(包括对英特尔处理器功能的支持,例如英特尔虚拟化技术(Intel VT)),则Intel HAXM安装将失败.

Warning: Intel HAXM installation will fail if your system does not meet the system requirements, including support for Intel processor features, such as Intel Virtualization Technology (Intel VT).

完成所有步骤后,它将正常工作.

After all the steps it will work properly.

希望有帮助... 此处英特尔文档

hope it helps... heres Intel documentation

这篇关于Android模拟器无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆