简体   繁体   English

Android模拟器无法启动

[英]Android Emulator Does not Launch

I am struggling to get the emulator launch successfully after trying for over 2 weeks. 在尝试超过2周后,我正在努力让模拟器成功启动。 I can really use some help with the issue or tips on troubleshooting the same. 我可以真正使用一些问题的帮助或解决相同的技巧。

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. 当我从我的工作PC连接时它失败了,我相信有一些配置可能会停止这个,但我不知道该配置是什么,我没有看到日志中的任何错误可以帮助我识别问题。 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. 这对我的同事来说也是一个普遍问题,因此我确信这是我们工作站上设置的一些策略或注册表设置。

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. 如果有人可以帮我识别停止启动模拟器的配置,我可以与IT团队一起进行必要的更改。

My config is 我的配置是

  • Android Studio 1.2.1.1 Android Studio 1.2.1.1
  • SDK/AVD Manager v 24.3.3 SDK / AVD Manager v 24.3.3
  • Windows 7 x64 Windows 7 x64
  • 16 GB RAM 16 GB RAM
  • DELL E6540 Laptop | 戴尔E6540笔记本电脑| DELL Optiplex 780 desktop 戴尔Optiplex 780桌面
  • HAXM Installed HAXM已安装
  • CPU options tried: Intel x86/x86_x64 & Arm v7a 尝试了CPU选项:Intel x86 / x86_x64和Arm v7a
  • RAM options tried: 768MB,1GB and 2GB 尝试了RAM选项:768MB,1GB和2GB
  • Host GPU: Tried with both on and off 主机GPU:尝试打开和关闭
  • Virtualization is enabled in BIOS 在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. 我从来没有看到窗户打开,我已经好几次等了2个多小时。

Here are the logs of three AVDs I created 这是我创建的三个AVD的日志

AVD 1 AVD 1

Arm v7a | Arm v7a | 768 MB RAM | 768 MB RAM | Android 5.1.1 | Android 5.1.1 | API 22 | API 22 | Host GPU Off 主机GPU关闭

AVD 1 | Arm v7a | 768 MB RAM | Android 5.1.1 | API 22 |主机GPU关闭

Output: 输出:

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 AVD 2

Intel Atom x86 | 英特尔凌动x86 | 1536 MB RAM | 1536 MB RAM | Android 4.3.1 | Android 4.3.1 | API 18 | API 18 | Use Host GPU ON 使用主机GPU开启

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

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 AVD 3

ARM | ARM | 512 MB RAM | 512 MB RAM | Android 2.3.3 | Android 2.3.3 | API 10 | API 10 | Use Host GPU OFF 使用主机GPU关闭

AVD 3 | ARM | 512 MB RAM | Android 2.3.3 | API 10 |使用主机GPU关闭

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

Have you installed properly the HAXM? 你有没有正确安装HAXM?

I encounter same issue before, before learning that HAXM is not yet enabled after downloading it in android sdk manager. 之前我遇到过同样的问题,之前在android sdk manager下载之后才知道HAXM尚未启用 在此输入图像描述

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 *模拟器中获得最佳体验。

Prerequisites 先决条件

Intel HAXM requires the Android* SDK to be installed (version 17 or higher). Intel HAXM需要安装Android * SDK(版本17或更高版本)。 For more information, refer to the Android* developer website ( http://developer.android.com/sdk/ ). 有关更多信息,请参阅Android *开发人员网站( 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. Under the main SDK directory. 在主SDK目录下。 Even though the SDK manager says "Installed" it actually means that the Intel HAXM executable was downloaded. 即使SDK管理器说“已安装”,它实际上意味着已下载英特尔HAXM可执行文件。 You will still need to run the installer from the "extras" directory to get it installed. 您仍然需要从“extras”目录运行安装程序才能安装它。

2.Extract the installer inside the "extras" directory and follow the installation instructions for your platform. 2.在“extras”目录中提取安装程序,并按照适用于您平台的安装说明进行操作。

在此输入图像描述

Installing Intel® HAXM on Windows* 在Windows *上安装英特尔®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). 警告:如果您的系统不符合系统要求(包括支持英特尔处理器功能,如英特尔虚拟化技术(Intel VT)),则英特尔HAXM安装将失败。

在此输入图像描述在此输入图像描述在此输入图像描述在此输入图像描述

After all the steps it will work properly. 完成所有步骤后,它将正常工作。 在此输入图像描述

hope it helps... heres Intel documentation 希望它有所帮助...继承人英特尔文档

One idea that you might want to try is to create an AVD for an old version of Android (such as 2.1 or 2.2). 您可能想要尝试的一个想法是为旧版Android(例如2.1或2.2)创建AVD。 In my experience those versions start reasonable fast even under emulation. 根据我的经验,这些版本即使在仿真下也能以合理的速度开 It may not be useful for creating projects, but should help you determine if the emulator is working in general. 它可能对创建项目没有用,但应该可以帮助您确定模拟器是否正常工作。

Wipe the data in the folders C:\\Users\\<username>\\.android\\ avd and cache Then start Creating AVD from scratch through 擦除文件夹C:\\Users\\<username>\\.android\\ avd and cache然后从头开始创建AVD 在此输入图像描述

I am using API 22 : Android 5.1.1 . 我使用的是API 22 : Android 5.1.1 I was facing the same issue then I downloaded the latest system image from android sdk manager to run Nexus 5 emulator. 我遇到了同样的问题然后我从android sdk manager下载了最新的系统映像来运行Nexus 5模拟器。

The System-Image was 系统图像是

Google APIs ARM EABI v7a System Image Google API ARM EABI v7a系统映像

and then selected this system image while creating a Virtual Device in Android Virtual Device Manager. 然后在Android Virtual Device Manager中创建虚拟设备时选择此系统映像。 Just make sure that you have checked the store a snapshot checkbox . 只需确保您已在商店中检查了快照复选框。 Now run your emulator. 现在运行你的模拟器。

You need to decide which emulator you want to use and select its system image according to it. 您需要决定要使用哪个仿真器,并根据它选择其系统映像。 For eg. 例如。 Nexus 5 has an arm processor (like that). Nexus 5有一个手臂处理器(就像那样)。 You should also download all the system images for your emulators. 您还应该下载模拟器的所有系统映像。 在此输入图像描述

You could try these : 你可以试试这些:

1) The skin is set to WVGA800 by default try changing it to HVGA . 1)默认情况下,皮肤设置为WVGA800 ,尝试将其更改为HVGA

2) Sometimes it is the problem with the graphic card and drivers (though you mentioned you tried this on different system, but check if the drivers are same?) 2)有时它是graphic card and drivers的问题(虽然你提到你在不同的系统上尝试过这个,但检查驱动程序是否相同?)

3) Sometimes the issue maybe because of screen size of emulator. 3)有时问题可能是因为模拟器的screen size Try changing lcd.height, lcd.width, skin.name, skin.path in the config files 尝试更改配置文件中的lcd.height, lcd.width, skin.name, skin.path

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM