I suppose it could be a problem with the emulator, although it really sounds like it's just taking awhile to start up. I never have problems other than the 19% bug in eclipse and occasionally the emulator reboots.
On Apr 8, 9:39 am, "Kobi Cohen-Arazi" <[EMAIL PROTECTED]> wrote: > On Tue, Apr 8, 2008 at 8:36 AM, Dan U. <[EMAIL PROTECTED]> wrote: > > > You need to wait for the emulator to start up. > > Actually Dan, this is happening quite a lot. Sometimes I'm struggling > a lot to have it started correctly. > Some workaround includes having the adb daemon killed (using adb > kill-server) while eclipse is starting the emulator. > > The amazing part of the whole story is that sometimes, when I'm > changing code, and make a clean build + run, the _old_ code is being > loaded. > After dozens of tries (including shutting down eclipse + the daemon > and restarting everything), I had no choice but to delete the .img > file and start from scratch. > > Maybe the folks in google can have a better idea of what is going on. > > Thanks, > Kobi. > > > > > > > On Apr 8, 8:08 am, Joe Braga <[EMAIL PROTECTED]> wrote: > > > I am having trouble getting the simple "Hello Android" to run properly > > > on my system. I followed the standard tutorial available > > here:http://code.google.com/android/intro/hello-android.html. From what I > > > can tell, I followed every step to the T. > > > > When I run the app, the Android emulator pops up, however instead of > > > displaying, "Hello Android" as shown in the documentation, it simply > > > displays "Android," with a blinking underscore, in the middle of the > > > phone's screen. Here is the code that I am using: > > > > package com.android.hello; > > > > import android.app.Activity; > > > import android.os.Bundle; > > > import android.widget.TextView; > > > > public class HelloAndroid extends Activity { > > > /** Called when the activity is first created. */ > > > @Override > > > public void onCreate(Bundle icicle) { > > > super.onCreate(icicle); > > > TextView tv = new TextView(this); > > > tv.setText("Hello, Android"); > > > setContentView(tv); > > > } > > > > } > > > > The Eclipse console displays: > > > > [2008-04-08 10:07:29 - Hello Android] ------------------------------ > > > [2008-04-08 10:07:29 - Hello Android] Android Launch! > > > [2008-04-08 10:07:29 - Hello Android] adb is running normally. > > > [2008-04-08 10:07:29 - Hello Android] Launching: > > > com.android.hello.HelloAndroid > > > [2008-04-08 10:07:29 - Hello Android] Automatic Target Mode: launch > > > emulator. > > > [2008-04-08 10:07:29 - Hello Android] Launching a new emulator. > > > [2008-04-08 10:07:30 - Hello Android] New emulator found: emulator- > > > tcp-5555 > > > > Once I close the emulator: > > > [2008-04-08 10:07:32 - Hello Android] emulator-tcp-5555 disconnected! > > > Cancelling 'com.android.hello.HelloAndroid' launch! > > > > I am using the M5 SDK. > > > > Any help would be greatly appreciated. Thanks in advance. > > > Joe > > -- > - Kobi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---