2012-11-19 223 views
12

這是我的情況:我有Ubuntu下10.04 LTS 64位Android模擬器無法啓動,AVD

一個XPS我下載使用Eclipse最新的Android SDK。 SDK工作正常,但是當我創建一個新的AVD並運行時。我的AVD加載但未顯示。 我不明白,你有關於我的問題的想法?

感謝的

我開始從命令行我AVD:

[email protected]:~/.android$ emulator -verbose -avd Test 
emulator: found SDK root at /home/romain/android-sdk-linux 
emulator: Android virtual device file at: /home/romain/.android/avd/Test.ini 
emulator: virtual device content at /home/romain/.android/avd/Test.avd 
emulator: virtual device config file: /home/romain/.android/avd/Test.avd/config.ini 
emulator: using core hw config path: /home/romain/.android/avd/Test.avd/hardware-qemu.ini 
emulator: Found AVD target API level: 3 
emulator: 'magic' skin format detected: 1024x600 
emulator: autoconfig: -skin 1024x600 
emulator: autoconfig: -skindir (null) 
emulator: keyset loaded from: /home/romain/.android/default.keyset 
emulator: found SDK root at /home/romain/android-sdk-linux 
emulator: trying to load skin file '/home/romain/android-sdk-linux/tools/lib/emulator/skins/dynamic//layout' 
emulator: loaded dynamic skin width=1024 height=600 bpp=16 

emulator: autoconfig: -kernel /home/romain/android-sdk-linux/platforms/android-3/images//kernel-qemu 
emulator: autoconfig: -ramdisk /home/romain/android-sdk-linux/platforms/android-3/images//ramdisk.img 
emulator: Using initial system image: /home/romain/android-sdk-linux/platforms/android-3/images//system.img 
emulator: autoconfig: -data /home/romain/.android/avd/Test.avd/userdata-qemu.img 
emulator: autoconfig: -initdata /home/romain/.android/avd/Test.avd/userdata.img 
emulator: autoconfig: -cache /home/romain/.android/avd/Test.avd/cache.img 
emulator: Physical RAM size: 512MB 

Content of hardware configuration file: 
    hw.cpu.arch = arm 
    hw.ramSize = 512 
    hw.screen = touch 
    hw.mainKeys = no 
    hw.trackBall = no 
    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 = no 
    disk.cachePartition = yes 
    disk.cachePartition.path = /home/romain/.android/avd/Test.avd/cache.img 
    disk.cachePartition.size = 66m 
    hw.lcd.width = 1024 
    hw.lcd.height = 600 
    hw.lcd.depth = 16 
    hw.lcd.density = 160 
    hw.lcd.backlight = yes 
    hw.gpu.enabled = no 
    hw.camera.back = emulated 
    hw.camera.front = none 
    vm.heapSize = 16 
    hw.sensors.proximity = yes 
    hw.sensors.magnetic_field = yes 
    hw.sensors.orientation = yes 
    hw.sensors.temperature = yes 
    kernel.path = /home/romain/android-sdk-linux/platforms/android-3/images//kernel-qemu 
    kernel.parameters = android.checkjni=1 
    disk.ramdisk.path = /home/romain/android-sdk-linux/platforms/android-3/images//ramdisk.img 
    disk.systemPartition.initPath = /home/romain/android-sdk-linux/platforms/android-3/images//system.img 
    disk.systemPartition.size = 200m 
    disk.dataPartition.path = /home/romain/.android/avd/Test.avd/userdata-qemu.img 
    disk.dataPartition.size = 200m 
    avd.name = Test 
. 
QEMU options list: 
emulator: argv[00] = "/home/romain/android-sdk-linux/tools/emulator64-arm" 
emulator: argv[01] = "-android-hw" 
emulator: argv[02] = "/home/romain/.android/avd/Test.avd/hardware-qemu.ini" 
Concatenated QEMU options: 
/home/romain/android-sdk-linux/tools/emulator64-arm -android-hw /home/romain/.android/avd/Test.avd/hardware-qemu.ini 
emulator: registered 'boot-properties' qemud service 
emulator: nand_add_dev: system,size=0xc800000,initfile=/home/romain/android-sdk-linux/platforms/android-3/images//system.img 
emulator: mapping 'system' NAND image to /tmp/android-romain/emulator-wbnmYS 
emulator: rounding devsize up to a full eraseunit, now c810000 

emulator: nand_add_dev: userdata,size=0xc800000,file=/home/romain/.android/avd/Test.avd/userdata-qemu.img 
emulator: rounding devsize up to a full eraseunit, now c810000 

emulator: registered 'boot-properties' qemud service 
emulator: Adding boot property: 'dalvik.vm.heapsize' = '16m' 
emulator: Adding boot property: 'qemu.sf.lcd_density' = '160' 
emulator: Adding boot property: 'qemu.hw.mainkeys' = '0' 
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'back' 
emulator: nand_add_dev: cache,size=0x4200000,file=/home/romain/.android/avd/Test.avd/cache.img 
emulator: Initializing hardware OpenGLES emulation support 
Erreur de segmentation (core dumped) 
+2

我們需要一些更多的細節來幫助你...請描述:「我的AVD加載但不顯示」。我希望看到模擬器的屏幕截圖,只要將它張貼到[Imgur](http://imgur.com)上,就會添加一個鏈接。 – Sam

+0

另外,嘗試使用'-verbose'標誌從命令行運行模擬器,以查看您獲得的錯誤消息。 – CommonsWare

+0

我只是在文章上添加新項目 –

回答

16

您遇到了我在this issue中列出的同樣的問題。在您的SDK tools/目錄中找到libOpenglRender.so,並將其重命名爲其他內容。

+0

謝謝!!!爲什麼這個問題呢?它僅在Ubuntu中? –

+0

@RomainDaquin:「它只在Ubuntu上?」 - 如果您仔細閱讀了這個問題,您會發現其他Linux發行版也受到影響(例如,Fedora)。 – CommonsWare

+0

對於64位,刪除lib64OpenglRender.so文件。花了一個小時來調試這個問題。 – Sandeep

-3

你需要先運行過程中耐心等待。加載需要一段時間。

+3

30分鐘後AVD不啓動... –

+1

avd根本不啓動 –