在尝试超过2周后,我正在努力让模拟器成功启动。我可以真正使用一些问题的帮助或解决相同的技巧。
我已经能够使用非常相似的配置在我的家庭计算机上成功启动模拟器。当我从我的工作PC连接时它失败了,我相信有一些配置可能会阻止这一点,但我不知道该配置是什么,我也没有看到日志中的任何错误可以帮助我识别问题。这对我的同事来说也是一个普遍的问题,因此我确信它已经在我们的工作站上设置了一些策略或注册表设置。
如果有人可以帮我识别停止启动模拟器的配置,我可以与IT团队合作进行必要的更改。
我的配置是
虚拟设备创建正常,但永远不会成功启动。我从来没有看到窗户打开,我已经好几次等了2个多小时。
以下是我创建的三个AVD的日志
Arm v7a | 768 MB RAM | Android 5.1.1 | API 22 |主机GPU关闭
输出:
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
Intel Atom 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
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
答案 0 :(得分:8)
您是否正确安装了HAXM?
我在学习之前遇到过同样的问题 在android sdk manager下载后, HAXM尚未启用。
您需要执行一些步骤才能使用Intel HAXM驱动程序从Android *模拟器中获得最佳体验。
先决条件
Intel HAXM需要安装Android * SDK(版本17或更高版本)。有关更多信息,请参阅Android *开发人员网站(http://developer.android.com/sdk/)。
<Overlay>
2.在“extras”目录中提取安装程序,并按照适用于您平台的安装说明进行操作。
在Windows *上安装英特尔®HAXM
警告:如果您的系统不符合系统要求(包括支持英特尔处理器功能,如英特尔虚拟化技术(Intel VT)),则英特尔HAXM安装将失败。
完成所有步骤后,它将正常运行。
希望它有帮助...... 继承人Intel documentation
答案 1 :(得分:3)
您可能想要尝试的一个想法是为旧版Android(例如2.1或2.2)创建AVD。根据我的经验,这些版本即使在仿真下也能以合理的速度开它可能对创建项目没有用,但应该可以帮助您确定模拟器是否正常工作。
答案 2 :(得分:2)
擦除文件夹C:\Users\<username>\.android\ avd and cache
中的数据然后从头开始通过开始创建AVD
答案 3 :(得分:2)
我正在使用API 22 : Android 5.1.1
。我遇到了同样的问题,然后我从android sdk manager下载了最新的系统映像来运行Nexus 5模拟器。
系统图像是
Google API ARM EABI v7a系统映像
然后在Android虚拟设备管理器中创建虚拟设备时选择此系统映像。只需确保您已选中存储快照复选框。现在运行你的模拟器。
您需要决定要使用哪个仿真器,并根据它选择系统映像。例如。 Nexus 5有一个手臂处理器(就像那样)。 您还应该下载模拟器的所有系统映像。
答案 4 :(得分:2)
你可以试试这些:
1)默认情况下,皮肤设置为WVGA800
,尝试将其更改为HVGA
。
2)有时这是graphic card and drivers
的问题(虽然你提到你在不同的系统上试过这个,但检查驱动程序是否相同?)
3)有时问题可能是因为模拟器的screen size
。尝试更改配置文件中的lcd.height, lcd.width, skin.name, skin.path
答案 5 :(得分:2)