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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to