Quantcast
Channel: Опыт пользователя и дизайн
Viewing all articles
Browse latest Browse all 360

Cannot run correctly x86 device images with HAXM

$
0
0

Hello,

I'm on a Mac OS X Maverick with Android SDK 23.0.2 and latest HAXM Version 1.0.8 configured with 2048 RAM size, I could install it as well but then when I launch emulator with any x86 device images  I got the emulator freezed at the bootscreen. I cannot understand why, HAXM was working on Lion.

Here verbose output from the same command executed from Android Studio:

"/Applications/Android Studio.app/sdk/tools/emulator" -avd NexusHAXM -netspeed full -netdelay none -verbose
emulator: found SDK root at /Applications/Android Studio.app/sdk
emulator: Android virtual device file at: /Users/bluesman/.android/avd/NexusHAXM.ini
emulator: virtual device content at /Users/bluesman/.android/avd/NexusHAXM.avd
emulator: virtual device config file: /Users/bluesman/.android/avd/NexusHAXM.avd/config.ini
emulator: using core hw config path: /Users/bluesman/.android/avd/NexusHAXM.avd/hardware-qemu.ini
emulator: Found AVD target API level: 19
emulator: Read property file at /Applications/Android Studio.app/sdk/add-ons/addon-google_apis_x86-google-19/images/x86//build.prop
emulator: No boot.prop property file found.
emulator: 'magic' skin format detected: 1080x1920
emulator: autoconfig: -skin 1080x1920
emulator: autoconfig: -skindir (null)
emulator: keyset loaded from: /Users/bluesman/.android/default.keyset
emulator: found magic skin width=1080 height=1920 bpp=16

emulator: autoconfig: -kernel /Applications/Android Studio.app/sdk/add-ons/addon-google_apis_x86-google-19/images/x86//kernel-qemu
emulator: autoconfig: -ramdisk /Applications/Android Studio.app/sdk/add-ons/addon-google_apis_x86-google-19/images/x86//ramdisk.img
emulator: Using initial system image: /Applications/Android Studio.app/sdk/add-ons/addon-google_apis_x86-google-19/images/x86//system.img
emulator: autoconfig: -data /Users/bluesman/.android/avd/NexusHAXM.avd/userdata-qemu.img
emulator: autoconfig: -initdata /Users/bluesman/.android/avd/NexusHAXM.avd/userdata.img
emulator: autoconfig: -cache /Users/bluesman/.android/avd/NexusHAXM.avd/cache.img
emulator: autoconfig: -sdcard /Users/bluesman/.android/avd/NexusHAXM.avd/sdcard.img
emulator: Physical RAM size: 2048MB

Content of hardware configuration file:
  hw.cpu.arch = x86
  hw.ramSize = 2048
  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 = yes
  hw.sdCard.path = /Users/bluesman/.android/avd/NexusHAXM.avd/sdcard.img
  disk.cachePartition = yes
  disk.cachePartition.path = /Users/bluesman/.android/avd/NexusHAXM.avd/cache.img
  disk.cachePartition.size = 66m
  hw.lcd.width = 1080
  hw.lcd.height = 1920
  hw.lcd.depth = 16
  hw.lcd.density = 480
  hw.lcd.backlight = yes
  hw.gpu.enabled = no
  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 = /Applications/Android Studio.app/sdk/add-ons/addon-google_apis_x86-google-19/images/x86//kernel-qemu
  kernel.parameters =  androidboot.hardware=goldfish clocksource=pit android.checkjni=1
  disk.ramdisk.path = /Applications/Android Studio.app/sdk/add-ons/addon-google_apis_x86-google-19/images/x86//ramdisk.img

  disk.systemPartition.size = 550m
  disk.dataPartition.path = /Users/bluesman/.android/avd/NexusHAXM.avd/userdata-qemu.img
  disk.dataPartition.size = 200m
  avd.name = NexusHAXM
.
QEMU options list:
emulator: argv[00] = "/Applications/Android Studio.app/sdk/tools/emulator64-x86"
emulator: argv[01] = "-netspeed"
emulator: argv[02] = "full"
emulator: argv[03] = "-netdelay"
emulator: argv[04] = "none"
emulator: argv[05] = "-android-hw"
emulator: argv[06] = "/Users/bluesman/.android/avd/NexusHAXM.avd/hardware-qemu.ini"
Concatenated QEMU options:'/Applications/Android Studio.app/sdk/tools/emulator64-x86' -netspeed full -netdelay none -android-hw /Users/bluesman/.android/avd/NexusHAXM.avd/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: System partition format: ext4
emulator: nand_add_dev: system,size=0x22600000,initfile=/Applications/Android Studio.app/sdk/add-ons/addon-google_apis_x86-google-19/images/x86//system.img,pagesize=512,extrasize=0
emulator: mapping 'system' NAND image to /tmp/android-bluesman/emulator-eJyftE
emulator: Data partition format: ext4
emulator: nand_add_dev: userdata,size=0xc800000,file=/Users/bluesman/.android/avd/NexusHAXM.avd/userdata-qemu.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' = '480'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '0'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'none'
emulator: Cache partition format: yaffs2
emulator: nand_add_dev: cache,size=0x4200000,file=/Users/bluesman/.android/avd/NexusHAXM.avd/cache.img
emulator: Initializing hardware OpenGLES emulation support
HAX is working and emulator runs in fast virt mode
emulator: Kernel parameters: qemu.gles=0 qemu=1 console=ttyS0 android.qemud=ttyS1 androidboot.hardware=goldfish clocksource=pit android.checkjni=1 ndns=1
emulator:     trying to find: /Applications/Android Studio.app/sdk/tools/bios.bin

emulator:     trying to find: /Applications/Android Studio.app/sdk/tools/lib/pc-bios/bios.bin

emulator:     trying to find: /Applications/Android Studio.app/sdk/tools/vgabios-cirrus.bin

emulator:     trying to find: /Applications/Android Studio.app/sdk/tools/lib/pc-bios/vgabios-cirrus.bin

emulator: autoconfig: -scale 0.49375
emulator: control console listening on port 5554, ADB on port 5555
emulator: sent '0012host:emulator:5555' to ADB server
emulator: ping program: /Applications/Android Studio.app/sdk/tools/ddms
emulator: ping command: /Applications/Android Studio.app/sdk/tools/ddms ping emulator 22.6.4.0 "NVIDIA Corporation""NVIDIA GeForce GT 640M OpenGL Engine""2.1 NVIDIA-8.26.26 310.40.45f01"

 

 


Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>