2014-03-07 19 views
4

我的環境是Linux 3.2.0-60-generic#91 -Ubuntu x86_64 GNU/Linux。我已經安裝了Eclipse Kepler和Android SDK v19。當我嘗試啓動AVD模擬器(沒有eclipse只是刪除該變量)時,我看到模擬器崩潰時出現「浮點異常」錯誤。Android模擬器崩潰,帶浮點異常

這似乎是Qemu的一個錯誤。我還沒有編寫應用程序或部署任何應用程序。我看到一個空的AVD發生崩潰!完全失去了問題。

這裏是

~/android-sdks/tools $./emulator -verbose @FantainAVD -qemu -smp 2 
emulator: found SDK root at /home/vivekv/android-sdks 
emulator: Android virtual device file at: /home/vivekv/.android/avd/FantainAVD.ini 
emulator: virtual device content at /home/vivekv/.android/avd/FantainAVD.avd 
emulator: virtual device config file: /home/vivekv/.android/avd/FantainAVD.avd/config.ini 
emulator: using core hw config path: /home/vivekv/.android/avd/FantainAVD.avd/hardware-qemu.ini 
emulator: Found AVD target API level: 19 
emulator: Read property file at /home/vivekv/android-sdks/system-images/android-19/x86//build.prop 
emulator: No boot.prop property file found. 
emulator: found skin 'QVGA' in directory: /home/vivekv/android-sdks/platforms/android-19/skins 
emulator: autoconfig: -skin QVGA 
emulator: autoconfig: -skindir /home/vivekv/android-sdks/platforms/android-19/skins 
emulator: found skin-specific hardware.ini: /home/vivekv/android-sdks/platforms/android-19/skins/QVGA/hardware.ini 
emulator: keyset loaded from: /home/vivekv/.android/default.keyset 
emulator: trying to load skin file '/home/vivekv/android-sdks/platforms/android-19/skins/QVGA/layout' 
emulator: skin network speed: 'full' 
emulator: skin network delay: 'none' 
emulator: autoconfig: -kernel /home/vivekv/android-sdks/system-images/android-19/x86//kernel-qemu 
emulator: autoconfig: -ramdisk /home/vivekv/android-sdks/system-images/android-19/x86//ramdisk.img 
emulator: Using initial system image: /home/vivekv/android-sdks/system-images/android-19/x86//system.img 
emulator: autoconfig: -data /home/vivekv/.android/avd/FantainAVD.avd/userdata-qemu.img 
emulator: autoconfig: -initdata /home/vivekv/.android/avd/FantainAVD.avd/userdata.img 
emulator: autoconfig: -cache /home/vivekv/.android/avd/FantainAVD.avd/cache.img 
emulator: autoconfig: -sdcard /home/vivekv/.android/avd/FantainAVD.avd/sdcard.img 
emulator: Physical RAM size: 512MB 

Content of hardware configuration file: 
    hw.cpu.arch = x86 
    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/vivekv/.android/avd/FantainAVD.avd/sdcard.img 
    disk.cachePartition = yes 
    disk.cachePartition.path = /home/vivekv/.android/avd/FantainAVD.avd/cache.img 
    disk.cachePartition.size = 66m 
    hw.lcd.width = 240 
    hw.lcd.height = 320 
    hw.lcd.depth = 16 
    hw.lcd.density = 120 
    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/vivekv/android-sdks/system-images/android-19/x86//kernel-qemu 
    kernel.parameters = androidboot.hardware=goldfish clocksource=pit android.checkjni=1 
    disk.ramdisk.path = /home/vivekv/android-sdks/system-images/android-19/x86//ramdisk.img 
    disk.systemPartition.initPath = /home/vivekv/android-sdks/system-images/android-19/x86//system.img 
    disk.systemPartition.size = 550m 
    disk.dataPartition.path = /home/vivekv/.android/avd/FantainAVD.avd/userdata-qemu.img 
    disk.dataPartition.size = 200m 
    avd.name = FantainAVD 
. 
QEMU options list: 
emulator: argv[00] = "./emulator64-x86" 
emulator: argv[01] = "-smp" 
emulator: argv[02] = "2" 
emulator: argv[03] = "-android-hw" 
emulator: argv[04] = "/home/vivekv/.android/avd/FantainAVD.avd/hardware-qemu.ini" 
Concatenated QEMU options: 
./emulator64-x86 -smp 2 -android-hw /home/vivekv/.android/avd/FantainAVD.avd/hardware-qemu.ini 
emulator: registered 'boot-properties' qemud service 
emulator: nand_add_dev: system,size=0x22600000,initfile=/home/vivekv/android-sdks/system-images/android-19/x86//system.img,pagesize=512,extrasize=0 
emulator: mapping 'system' NAND image to /tmp/android-vivekv/emulator-xu2UXA 
emulator: nand_add_dev: userdata,size=0xc800000,file=/home/vivekv/.android/avd/FantainAVD.avd/userdata-qemu.img,pagesize=512,extrasize=0 
emulator: registered 'boot-properties' qemud service 
emulator: Adding boot property: 'dalvik.vm.heapsize' = '48m' 
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' = 'back' 
emulator: nand_add_dev: cache,size=0x4200000,file=/home/vivekv/.android/avd/FantainAVD.avd/cache.img,pagesize=512,extrasize=0 
emulator: Initializing hardware OpenGLES emulation support 
Failed to load libGL.so 
error libGL.so: cannot open shared object file: No such file or directory 
Failed to load libGL.so 
error libGL.so: cannot open shared object file: No such file or directory 
emulator: No kvm device file detected 
emulator: Kernel parameters: qemu.gles=1 qemu=1 console=ttyS0 android.qemud=ttyS1 androidboot.hardware=goldfish clocksource=pit android.checkjni=1 ndns=-1 
emulator:  trying to find: /home/vivekv/android-sdks/tools/bios.bin 

emulator:  trying to find: /home/vivekv/android-sdks/tools/lib/pc-bios/bios.bin 

emulator:  trying to find: /home/vivekv/android-sdks/tools/vgabios-cirrus.bin 

emulator:  trying to find: /home/vivekv/android-sdks/tools/lib/pc-bios/vgabios-cirrus.bin 

emulator: autoconfig: -scale 1 
emulator: control console listening on port 5554, ADB on port 5555 
emulator: can't connect to ADB server: Connection refused 
emulator: ping program: /home/vivekv/android-sdks/tools/ddms 
emulator: ping command: /home/vivekv/android-sdks/tools/ddms ping emulator 22.6.0 "Tungsten Graphics, Inc" "Mesa DRI Intel(R) Ivybridge Mobile " "3.0 Mesa 8.0.4" 
goldfish_fb_get_pixel_format:169: display surface,pixel format: 
    bits/pixel: 16 
    bytes/pixel: 2 
    depth:  16 
    red:   bits=5 mask=0xf800 shift=11 max=0x1f 
    green:  bits=6 mask=0x7e0 shift=5 max=0x3f 
    blue:  bits=5 mask=0x1f shift=0 max=0x1f 
    alpha:  bits=0 mask=0x0 shift=0 max=0x0 
Floating point exception 
+0

我已經記錄了谷歌的問題以及http://code.google.com/p/android/issues/detail?id=66786 – vivekv

回答

0

日誌你的第一個錯誤是,你的Android工作室不能加載libGL.so,這裏是關於一個很好的答案:

Failed to load libGL.so on Android

後鏈接你的.so你應該沒有任何問題。或者至少你應該有一個新的問題來解決