0 0

运行“HelloAndroid”时出现的问题5

After installing and setting up all about the Android Plugin for
Eclipse I've tried to run the most simpliest program on the Emulator,
Hello! Android.
I followed correctly every instruction as "Creating the Android
Aplication", "Run Dialog". So, I execute the application to run in the
emulator but happened this:

The window of the emulator opens (a little slow... because for my
machine specs...). I can see a little DOS Prompt appear, but later it
closes (seems to be a java command, but i don't know).
In the emulator window appears the "cellphone" with a text: "ANDROID"
and a cursor beside.
Nothing happens, but If I wait a long time , the logo appears and
obviously boot the system. Unfortunetly the application that I'm
trying to run from Eclipse, simply don't run.
Before the Android OS System is booted, in Eclipse's console appears
the next message:


2008-10-24 18:27:12 - Hello Android] emulator-5554 disconnected!
Cancelling 'com.android.hello.HelloAndroid' launch!



Of course I've read the FAQs and the Troubleshooting, and only
recommends to close any other emulators and restar adb. This solution
don't work for me.


Here, the complete log of eclipse when I run the application for
Android.

[2008-12-25 20:39:50 - HelloAndroid] ------------------------------
[2008-12-25 20:39:50 - HelloAndroid] Android Launch!
[2008-12-25 20:39:50 - HelloAndroid] adb is running normally.
[2008-12-25 20:39:50 - HelloAndroid] Launching: com.android.hello.HelloAndroid
[2008-12-25 20:39:50 - HelloAndroid] Automatic Target Mode: launching new emulator.
[2008-12-25 20:39:50 - HelloAndroid] Launching a new emulator.
[2008-12-25 20:39:52 - HelloAndroid] New emulator found: emulator-5554
[2008-12-25 20:39:52 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched...
[2008-12-25 20:39:59 - HelloAndroid] emulator-5554 disconnected! Cancelling 'com.android.hello.HelloAndroid' launch!


Any idea?

问题补充:
我用的是Android 1.0 SDK, Release 2。
2008年12月25日 20:43

1个答案 按时间排序 按投票排序

0 0

What version of Android SDK are you using?
Don't know if things have gotten better in newer versions, but when I was playing with Android M5-RC15 earlier this year, I had the same problem as you described, that the emulator keeps disconnecting.
No idea why it's happening, but I found a workaround that worked for me, here: http://rednaxelafx.iteye.com/blog/168422. Some of my classmates said it didn't work for them, though.

2008年12月25日 21:03

相关推荐

Global site tag (gtag.js) - Google Analytics