我一直有运行我的第一个Android应用程序的问题。昨天,我差点跑,但我的幸福破灭时,我遇到了这个错误:
模拟器-arm.exe已停止工作
我该怎么办?我想运行此的'Hello World
我的控制台显示:
[2011-07-28 10时46分52秒 - HelloAndroid] Android的推出!
[2011-07-28 10点46分52秒 - HelloAndroid]亚洲开发银行运行正常。
[2011-07-28 10点46分52秒 - HelloAndroid]执行com.bestvalue.hello.HelloAndroid活动启动
[2011-07-28 10点46分52秒 - HelloAndroid]自动目标模式:preferred AVDmy_avd不可用。启动新的仿真器。
[2011-07-28 10点46分52秒 - HelloAndroid]启动一个新的仿真与虚拟设备my_avd
[2011-07-28 10时47分13秒 - 模拟器]仿真器:仿真器窗口是拿出来看并recentred
[2011-07-28 10时47分13秒 - 模拟器]
[2011-07-28十点47分14秒 - HelloAndroid]研究发现新的模拟器:模拟器-5554
[2011-07-28十点47分14秒 - HelloAndroid]等待HOME('android.process.acore)即将推出...
[2011-07-28 10时47分28秒 - HelloAndroid]仿真器 - 5554断开!消com.bestvalue.hello.HelloAndroid活动推出的!
解决方案
更改设备的分辨率,它应该工作。它没有为我工作,当分辨率为1280X800。我把它改为800X600,它能正常工作。
I have been having issues running my first android app. Yesterday, i came close to running it but my happiness was dashed when i encountered this error:
emulator-arm.exe has stopped working
What do i do? I want to run this 'Hello World'
My Console Display:
[2011-07-28 10:46:52 - HelloAndroid] Android Launch!
[2011-07-28 10:46:52 - HelloAndroid] adb is running normally.
[2011-07-28 10:46:52 - HelloAndroid] Performing com.bestvalue.hello.HelloAndroid activity launch
[2011-07-28 10:46:52 - HelloAndroid] Automatic Target Mode: Preferred AVD 'my_avd' is not available. Launching new emulator.
[2011-07-28 10:46:52 - HelloAndroid] Launching a new emulator with Virtual Device 'my_avd'
[2011-07-28 10:47:13 - Emulator] emulator: emulator window was out of view and was recentred
[2011-07-28 10:47:13 - Emulator]
[2011-07-28 10:47:14 - HelloAndroid] New emulator found: emulator-5554
[2011-07-28 10:47:14 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched...
[2011-07-28 10:47:28 - HelloAndroid] emulator-5554 disconnected! Cancelling 'com.bestvalue.hello.HelloAndroid activity launch'!
解决方案
Change the resolution of the device and it should work. It didn't work for me when the resolution was 1280X800. I changed it to 800X600 and it worked fine.