Comment 0 for bug 1291333

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

$ sudo ubuntu-emulator create --channel=devel-proposed trusty-proposed
$ ubuntu-emulator run trusty-proposedemulator: autoconfig: -ramdisk /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/ramdisk.img
emulator: autoconfig: -datadir /home/jamie/.local/share/ubuntu-emulator/trusty-proposed
emulator: Could not open file: /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/system/build.prop: No such file or directory
emulator: Coult not find CPU ABI in build properties!
emulator: Default target architecture=arm
emulator: Could not open file: /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/system/build.prop: No such file or directory
emulator: Could not find target API level / SDK version in build properties!
emulator: Default target API level: 1000
emulator: using core hw config path: /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/hardware-qemu.ini
emulator: keyset loaded from: /home/jamie/.android/default.keyset
emulator: trying to load skin file '/usr/share/ubuntu-emulator/skins/EDGE/layout'
emulator: skin network speed: 'full'
emulator: skin network delay: 'none'
emulator: Using initial system image: /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/system.img
emulator: autoconfig: -initdata (null)
emulator: Physical RAM size: 512MB

emulator: Could not open file: /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/system/build.prop: No such file or directory
emulator: Coult not find CPU ABI in build properties!
emulator: Default target ABI: armeabi
Content of hardware configuration file:
  hw.cpu.arch = arm
  hw.ramSize = 512
  hw.screen = touch
  hw.mainKeys = yes
  hw.trackBall = yes
  hw.keyboard = no
  hw.keyboard.lid = no
  hw.keyboard.charmap = qwerty2
  hw.dPad = yes
  hw.gsmModem = yes
  hw.gps = yes
  hw.battery = yes
  hw.accelerometer = yes
  hw.audioInput = yes
  hw.audioOutput = yes
  hw.sdCard = yes
  hw.sdCard.path = /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/sdcard.img
  disk.cachePartition = yes
  disk.cachePartition.path = /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/cache.img
  disk.cachePartition.size = 66m
  hw.lcd.width = 480
  hw.lcd.height = 800
  hw.lcd.depth = 16
  hw.lcd.density = 160
  hw.lcd.backlight = yes
  hw.gpu.enabled = yes
  hw.camera.back = emulated
  hw.camera.front = none
  vm.heapSize = 48
  hw.sensors.proximity = yes
  hw.sensors.magnetic_field = yes
  hw.sensors.orientation = yes
  hw.sensors.temperature = yes
  hw.useext4 = yes
  kernel.path = /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/ubuntu-kernel
  kernel.parameters = androidboot.console=ttyS2
  disk.ramdisk.path = /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/ramdisk.img
  disk.systemPartition.initPath = /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/system.img
  disk.systemPartition.size = 200m
  disk.dataPartition.path = /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/userdata.img
  disk.dataPartition.size = 200m
  avd.name = <build>
.
QEMU options list:
emulator: argv[00] = "/usr/share/android/emulator/out/host/linux-x86/bin/emulator-arm"
emulator: argv[01] = "-show-kernel"
emulator: argv[02] = "-serial"
emulator: argv[03] = "stdio"
emulator: argv[04] = "-cpu"
emulator: argv[05] = "cortex-a9"
emulator: argv[06] = "-append"
emulator: argv[07] = ""
emulator: argv[08] = "-android-hw"
emulator: argv[09] = "/home/jamie/.local/share/ubuntu-emulator/trusty-proposed/hardware-qemu.ini"
Concatenated QEMU options:
 /usr/share/android/emulator/out/host/linux-x86/bin/emulator-arm -show-kernel -serial stdio -cpu cortex-a9 -append -android-hw /home/jamie/.local/share/ubuntu-emulator/trusty-proposed/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: nand_add_dev: system,size=0xc800000,initfile=/home/jamie/.local/share/ubuntu-emulator/trusty-proposed/system.img,pagesize=512,extrasize=0
emulator: mapping 'system' NAND image to /tmp/android-jamie/emulator-4qqVyk
emulator: nand_add_dev: userdata,size=0xc800000,file=/home/jamie/.local/share/ubuntu-emulator/trusty-proposed/userdata.img,pagesize=512,extrasize=0
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '48m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '160'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '1'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'back'
emulator: nand_add_dev: cache,size=0x4200000,file=/home/jamie/.local/share/ubuntu-emulator/trusty-proposed/cache.img,pagesize=512,extrasize=0
emulator: Initializing hardware OpenGLES emulation support
libGL error: Couldn't dlopen libudev.so.1 or libudev.so.0, driver detection may be broken.
emulator-arm: ../../../../src/loader/loader.c:129: asserted_dlsym: Assertion `result' failed.
signal: aborted (core dumped)

This was also reported on the forums:
http://ubuntuforums.org/showthread.php?t=2208424

The forums state to:
$ sudo apt-get install libudev1:i386

which seems to resolve the issue for me.