问题描述
我想与Eclipse 3.7运行在Ubuntu 11.10 x64上的Android模拟器。我已经安装了SDK,插件用于Eclipse,设置我的道路变量包括Android的SDK路径,安装了32位的库,并创建了一个AVD运行。当我去调试和运行然而,我的系统挂起:
等待HOME('android.process.acore)将推出
我看到别人挂和解决方案通常是检查的logcat(我这里没有信息),在AVD的SD卡增加值(我已经这样做了),或者等一会儿 - 它会发生最终会(我让它运行在夜间仍然没有骰子)
还有没有其他的想法?非常感谢!
编辑:
我还要提到的是我试图重新发动这是另一种常用建议的解决方案的应用。此外,鉴于仿真器发射,但我从来没有得到仿真器窗口内的任何东西(我从来没有看到机器人为例)的情况下,这会有所帮助。
下面是 -verbose
模拟器:发现SDK根通过/ home /德文/ Android的软件开发工具包
仿真器:在Android的虚拟设备文件:/home/devon/.android/avd/Test.ini
模拟器:在/home/devon/.android/avd/Test.avd虚拟设备内容
仿真器:虚拟设备的配置文件:/home/devon/.android/avd/Test.avd/config.ini
仿真器:使用核心硬件配置路径:/home/devon/.android/avd/Test.avd/hardware-qemu.ini
仿真器:找到AVD目标API级别:8
仿真器:发现皮肤WVGA800,在目录:/家居/德文/ Android的软件开发工具包/平台/ Android为8 /皮
仿真器:自动配置:-skin WVGA800
仿真器:自动配置:-skindir /家用/德文/ Android的软件开发工具包/平台/ Android为8 /皮
仿真器:从密钥集装:/home/devon/.android/default.keyset
仿真器:试图加载皮肤文件/家庭/德文/ Android的软件开发工具包/平台/ Android为8 /毛皮/ WVGA800 /布局
仿真器:皮网络速度:'全'
仿真器:皮网络延迟:'无'
仿真器:自动配置:-kernel /家用/德文/ Android的软件开发工具包/平台/ Android为8 /图像//内核QEMU
仿真器:自动配置:-ramdisk /home/devon/android-sdks/platforms/android-8/images//ramdisk.img
仿真器:使用初始系统映像:/home/devon/android-sdks/platforms/android-8/images//system.img
仿真器:自动配置: - 数据/home/devon/.android/avd/Test.avd/userdata-qemu.img
仿真器:自动配置:-initdata /home/devon/.android/avd/Test.avd/userdata.img
仿真器:自动配置:-cache /home/devon/.android/avd/Test.avd/cache.img
仿真器:自动配置:-sdcard /home/devon/.android/avd/Test.avd/sdcard.img
模拟器:物理内存大小:128MB
硬件配置文件的内容:
hw.cpu.arch =手臂
hw.cpu.model =
hw.ramSize = 128
hw.touchScreen = YES
hw.mainKeys = YES
hw.trackBall = YES
hw.keyboard = YES
hw.keyboard.lid = YES
hw.keyboard.charmap = qwerty2
hw.dPad = YES
hw.gsmModem = YES
hw.camera =无
hw.camera.maxHorizontalPixels = 640
hw.camera.maxVerticalPixels = 480
hw.gps = YES
hw.battery = YES
hw.accelerometer = YES
hw.audioInput = YES
hw.audioOutput = YES
hw.sdCard = YES
hw.sdCard.path = /home/devon/.android/avd/Test.avd/sdcard.img
disk.cachePartition = YES
disk.cachePartition.path = /home/devon/.android/avd/Test.avd/cache.img
disk.cachePartition.size =66米
hw.lcd.width = 480
hw.lcd.height = 800
hw.lcd.depth = 16
hw.lcd.density = 240
hw.lcd.backlight = YES
hw.gpu.enabled =无
hw.fakeCamera =回
hw.webcam.count = 6
hw.webcam.0.name = webcam0
hw.webcam.1.name = webcam1
hw.webcam.2.name = webcam2
hw.webcam.3.name = webcam3
hw.webcam.4.name = webcam4
hw.webcam.5.name = webcam5
hw.webcam.0.direction =前
hw.webcam.1.direction =回
hw.webcam.2.direction =前
hw.webcam.3.direction =前
hw.webcam.4.direction =前
hw.webcam.5.direction =前
vm.heapSize = 24
hw.sensors.proximity = YES
kernel.path = /家庭/德文/ Android的软件开发工具包/平台/ Android为8 /图像//内核QEMU
kernel.parameters = android.checkjni = 1
disk.ramdisk.path = /home/devon/android-sdks/platforms/android-8/images//ramdisk.img
disk.systemPartition.initPath = /home/devon/android-sdks/platforms/android-8/images//system.img
disk.systemPartition.size =78米
disk.dataPartition.path = /home/devon/.android/avd/Test.avd/userdata-qemu.img
disk.dataPartition.size =66米
disk.snapStorage.path =
avd.name =测试
。
QEMU选项列表:
仿真器:是的argv [00] =/家/德文/ Android的软件开发工具包/工具/仿真器臂
仿真器:是的argv [01] =-Android-HW
仿真器:是的argv [02] =/home/devon/.android/avd/Test.avd/hardware-qemu.ini
级联QEMU选项:
/主页/德文/ Android的软件开发工具包/工具/仿真器臂-Android-HW /home/devon/.android/avd/Test.avd/hardware-qemu.ini
仿真器:注册的引导性qemud服务
模拟器:nand_add_dev:系统,大小= 0x4e00000,initfile = /家庭/德文/ Android的软件开发工具包/平台/ Android为8 /图像// system.img
模拟器:映射系统NAND映像到/ tmp / Android的德文/仿真器,wbKapY
模拟器:四舍五入devsize到一个完整的eraseunit,现在4e1e000
模拟器:nand_add_dev:用户数据,大小= 0x4200000,文件= /家庭/德文/ .android / AVD / Test.avd /用户数据,qemu.img
仿真器:注册的引导性qemud服务
仿真器:将引导属性:dalvik.vm.heapsize'='24米
仿真器:将引导属性:qemu.sf.lcd_density'='240'
仿真器:将引导属性:qemu.hw.mainkeys'='1'
仿真器:将引导属性:qemu.sf.fake_camera'='回'
模拟器:nand_add_dev:缓存大小= 0x4200000,文件= /家庭/德文/ .android / AVD / Test.avd / cache.img
仿真器:内核参数:qemu.gles = 0 QEMU = 1台= ttyS0来android.qemud =就是ttyS1 android.checkjni = 1 ndns = 1
仿真器:跟踪文件名未设置
仿真器:自动配置:-scale 1
仿真器:控制台端口5555监听端口5554,亚行
模拟器:无法连接到服务器ADB:连接被拒绝
仿真器:ping程序:/家庭/德文/ Android的软件开发工具包/工具/ DDMS
模拟器:ping命令:/家庭/德文/ Android的软件开发工具包/工具/ DDMS平模拟器15.0
原来问题出在VirtualBox的(没想到提这个,对不起)。取消选中 3D加速
造成模拟器才能正常运行。
I am trying to run an Android emulator on Ubuntu 11.10 x64 with Eclipse 3.7. I have installed the SDK, the plugin for Eclipse, have set my PATH variables to include the android-sdk paths, installed the 32 bit libraries, and have created an AVD to run. When I go to Debug or Run however, my system hangs on:
Waiting for HOME ('android.process.acore') to be launched
I have seen other people hang and the solution is usually "check the Logcat" (I have no message here), "add a value for the SD Card in the AVD" (I have done this) or "Wait a while - it will happen eventually" (I let it run over night and still no dice).
Are there any other ideas? Thanks so much!
EDIT:
I should also mention that I have tried relaunching the application which was another commonly suggested solution. Also, the view for the emulator launches, but I never get anything inside of the emulator window (I never see A N D R O I D for example) in case this helps.
Here is the result of -verbose
emulator: found SDK root at /home/devon/android-sdks
emulator: Android virtual device file at: /home/devon/.android/avd/Test.ini
emulator: virtual device content at /home/devon/.android/avd/Test.avd
emulator: virtual device config file: /home/devon/.android/avd/Test.avd/config.ini
emulator: using core hw config path: /home/devon/.android/avd/Test.avd/hardware-qemu.ini
emulator: Found AVD target API level: 8
emulator: found skin 'WVGA800' in directory: /home/devon/android-sdks/platforms/android-8/skins
emulator: autoconfig: -skin WVGA800
emulator: autoconfig: -skindir /home/devon/android-sdks/platforms/android-8/skins
emulator: keyset loaded from: /home/devon/.android/default.keyset
emulator: trying to load skin file '/home/devon/android-sdks/platforms/android-8/skins/WVGA800/layout'
emulator: skin network speed: 'full'
emulator: skin network delay: 'none'
emulator: autoconfig: -kernel /home/devon/android-sdks/platforms/android-8/images//kernel-qemu
emulator: autoconfig: -ramdisk /home/devon/android-sdks/platforms/android-8/images//ramdisk.img
emulator: Using initial system image: /home/devon/android-sdks/platforms/android-8/images//system.img
emulator: autoconfig: -data /home/devon/.android/avd/Test.avd/userdata-qemu.img
emulator: autoconfig: -initdata /home/devon/.android/avd/Test.avd/userdata.img
emulator: autoconfig: -cache /home/devon/.android/avd/Test.avd/cache.img
emulator: autoconfig: -sdcard /home/devon/.android/avd/Test.avd/sdcard.img
emulator: Physical RAM size: 128MB
Content of hardware configuration file:
hw.cpu.arch = arm
hw.cpu.model =
hw.ramSize = 128
hw.touchScreen = yes
hw.mainKeys = yes
hw.trackBall = yes
hw.keyboard = yes
hw.keyboard.lid = yes
hw.keyboard.charmap = qwerty2
hw.dPad = yes
hw.gsmModem = yes
hw.camera = no
hw.camera.maxHorizontalPixels = 640
hw.camera.maxVerticalPixels = 480
hw.gps = yes
hw.battery = yes
hw.accelerometer = yes
hw.audioInput = yes
hw.audioOutput = yes
hw.sdCard = yes
hw.sdCard.path = /home/devon/.android/avd/Test.avd/sdcard.img
disk.cachePartition = yes
disk.cachePartition.path = /home/devon/.android/avd/Test.avd/cache.img
disk.cachePartition.size = 66m
hw.lcd.width = 480
hw.lcd.height = 800
hw.lcd.depth = 16
hw.lcd.density = 240
hw.lcd.backlight = yes
hw.gpu.enabled = no
hw.fakeCamera = back
hw.webcam.count = 6
hw.webcam.0.name = webcam0
hw.webcam.1.name = webcam1
hw.webcam.2.name = webcam2
hw.webcam.3.name = webcam3
hw.webcam.4.name = webcam4
hw.webcam.5.name = webcam5
hw.webcam.0.direction = front
hw.webcam.1.direction = back
hw.webcam.2.direction = front
hw.webcam.3.direction = front
hw.webcam.4.direction = front
hw.webcam.5.direction = front
vm.heapSize = 24
hw.sensors.proximity = yes
kernel.path = /home/devon/android-sdks/platforms/android-8/images//kernel-qemu
kernel.parameters = android.checkjni=1
disk.ramdisk.path = /home/devon/android-sdks/platforms/android-8/images//ramdisk.img
disk.systemPartition.initPath = /home/devon/android-sdks/platforms/android-8/images//system.img
disk.systemPartition.size = 78m
disk.dataPartition.path = /home/devon/.android/avd/Test.avd/userdata-qemu.img
disk.dataPartition.size = 66m
disk.snapStorage.path =
avd.name = Test
.
QEMU options list:
emulator: argv[00] = "/home/devon/android-sdks/tools/emulator-arm"
emulator: argv[01] = "-android-hw"
emulator: argv[02] = "/home/devon/.android/avd/Test.avd/hardware-qemu.ini"
Concatenated QEMU options:
/home/devon/android-sdks/tools/emulator-arm -android-hw /home/devon/.android/avd/Test.avd/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: nand_add_dev: system,size=0x4e00000,initfile=/home/devon/android-sdks/platforms/android-8/images//system.img
emulator: mapping 'system' NAND image to /tmp/android-devon/emulator-wbKapY
emulator: rounding devsize up to a full eraseunit, now 4e1e000
emulator: nand_add_dev: userdata,size=0x4200000,file=/home/devon/.android/avd/Test.avd/userdata-qemu.img
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '24m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '240'
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/devon/.android/avd/Test.avd/cache.img
emulator: Kernel parameters: qemu.gles=0 qemu=1 console=ttyS0 android.qemud=ttyS1 android.checkjni=1 ndns=1
emulator: Trace file name is not set
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/devon/android-sdks/tools/ddms
emulator: ping command: /home/devon/android-sdks/tools/ddms ping emulator 15.0
Turns out the problem was with VirtualBox (didn't think to mention this, sorry). Unchecking 3D Acceleration
caused the emulator to run correctly.
这篇关于Android模拟器冻结在启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!