OpaSmurf, I finally figured out and solved my issue. I can see "Hello, Android" on my emulator, also see another program "LinearLayout", too
1. I reinstall jdk 6.0 ,eclipse 3.6.1 and ADT 4.0.3 plugin. I think the issue iI had before is jdk 6.0 issue. I only had jre (6.0). 2. Created "Hello, Android" project 3. Created "HelloLinearLayout" project. 4. Check your AndroidManifest.xml has a right activity name to match the name of java code(HelloAndroidActivity.java). ---this is very important 5 set "build out" be "Verbose" from windows->preferences->Android- >Build 6. Run it, I can see "Hello, Android" and "Hello LinearLayout" on my emulators. 7. from my log must see the last three lines. please my log file: [2011-12-29 10:29:00 - HelloLinearLayout] Android Launch! [2011-12-29 10:29:00 - HelloLinearLayout] adb is running normally. [2011-12-29 10:29:00 - HelloLinearLayout] Performing com.test.hellolinearlayout.HelloLinearLayoutActivity activity launch [2011-12-29 10:29:00 - HelloLinearLayout] Automatic Target Mode: Preferred AVD 'my_avd' is not available. Launching new emulator. [2011-12-29 10:29:00 - HelloLinearLayout] Launching a new emulator with Virtual Device 'my_avd' [2011-12-29 10:29:00 - HelloLinearLayout] Refreshing resource folders. [2011-12-29 10:29:00 - HelloLinearLayout] Starting incremental Pre Compiler: Checking resource changes. [2011-12-29 10:29:00 - HelloLinearLayout] Nothing to pre compile! [2011-12-29 10:29:09 - HelloLinearLayout] New emulator found: emulator-5554 [2011-12-29 10:29:09 - HelloLinearLayout] Waiting for HOME ('android.process.acore') to be launched... [2011-12-29 10:30:14 - HelloLinearLayout] HOME is up on device 'emulator-5554' [2011-12-29 10:30:14 - HelloLinearLayout] Uploading HelloLinearLayout.apk onto device 'emulator-5554' [2011-12-29 10:30:14 - HelloLinearLayout] Installing HelloLinearLayout.apk... [2011-12-29 10:31:00 - HelloLinearLayout] Success! [2011-12-29 10:31:00 - HelloLinearLayout] Starting activity com.test.hellolinearlayout.HelloLinearLayoutActivity on device emulator-5554 [2011-12-29 10:31:02 - HelloLinearLayout] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.hellolinearlayout/.HelloLinearLayoutActivity } On Dec 28, 6:05 pm, OpaSmurf <opasmur...@gmail.com> wrote: > "Hello, Android" fails to display in avd. AVD displays and animates. > After ~34 minutes get “Failed to install HiDroid.apk”. Should I > expect text from “http://developer.android.com/resources/tutorials/ > hello-world.html” to display on screen? > > Also replied to: "Unable to create sensors port" > > #response to adb devices in terminal: > List of devices attached > > emulator-5554 device > > #Name of process found with ps at terminal > emulator-arm > #Name of tool bar of emulator-arm (shows at top of Unity GUI when avd > has focus) > Untitled window > #Name in title bar of process emulator-arm > 5554:avd_google_api15 > Eclipse 3.7.1 log > [2011-12-28 13:12:17 - HiDroid] ------------------------------ > [2011-12-28 13:12:17 - HiDroid] Android Launch! > [2011-12-28 13:12:17 - HiDroid] adb is running normally. > [2011-12-28 13:12:17 - HiDroid] Performing my.namespace.HiDroid > activity launch > [2011-12-28 13:12:17 - HiDroid] Automatic Target Mode: launching new > emulator with compatible AVD 'avd_google_api15' > [2011-12-28 13:12:17 - HiDroid] Launching a new emulator with Virtual > Device 'avd_google_api15' > [2011-12-28 13:12:20 - Emulator] emulator: WARNING: Unable to create > sensors port: Connection refused > [2011-12-28 13:12:20 - HiDroid] New emulator found: emulator-5554 > [2011-12-28 13:12:20 - HiDroid] Waiting for HOME > ('android.process.acore') to be launched... > [2011-12-28 13:43:05 - HiDroid] HOME is up on device 'emulator-5554' > [2011-12-28 13:43:05 - HiDroid] Uploading HiDroid.apk onto device > 'emulator-5554' > [2011-12-28 13:43:05 - HiDroid] Installing HiDroid.apk... > [2011-12-28 13:46:09 - HiDroid] Failed to install HiDroid.apk on > device 'emulator-5554! > [2011-12-28 13:46:09 - HiDroid] (null) > [2011-12-28 13:46:10 - HiDroid] Launch canceled! > > Screen graphic of avd continues to animate word ANDROID centered in > simulated screen. Keypad and buttons respond to mouse position but > not to click. > > Code in HiDroid is: > package my.namespace; > > import android.app.Activity; > import android.os.Bundle; > import android.widget.TextView; > > public class HiDroid extends Activity { > /** Called when the activity is first created. */ > @Override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > TextView tv = new TextView(this); > tv.setText("Hello, Android"); > setContentView(tv); > } > } > > Also replied to: Unable to create sensors port:Hello World" on > hello_avd screen > > On Dec 28, 4:46 pm, James Black <planiturth...@gmail.com> wrote: > > > > > > > > > Under the Debug perspective, look for LogCat, and double click on that tab, > > and see if there are any errors that may be causing it to crash early, or > > not start. > > > On Wed, Dec 28, 2011 at 3:33 PM, Albert Pi <albertpi0...@gmail.comg > wrote: > > > > Sander, > > > I am not seeing "hello, android" in my emulator and I waited more than > > > 20 mints also restart emulator three times. Need help ??????????????? > > > > [2011-12-28 15:21:43 - HelloLinearLayout] > > > ------------------------------ > > > [2011-12-28 15:21:43 - HelloLinearLayout] Android Launch! > > > [2011-12-28 15:21:43 - HelloLinearLayout] adb is running normally. > > > [2011-12-28 15:21:43 - HelloLinearLayout] Performing > > > com.test.hellolinearlayout.HelloLinearLayoutActivity activity launch > > > [2011-12-28 15:21:43 - HelloLinearLayout] Automatic Target Mode: > > > launching new emulator with compatible AVD 'my_avd' > > > [2011-12-28 15:21:43 - HelloLinearLayout] Launching a new emulator > > > with Virtual Device 'my_avd' > > > [2011-12-28 15:21:51 - HelloLinearLayout] New emulator found: > > > emulator-5554 > > > [2011-12-28 15:21:51 - HelloLinearLayout] Waiting for HOME > > > ('android.process.acore') to be launched... > > > [2011-12-28 15:22:41 - HelloLinearLayout] HOME is up on device > > > 'emulator-5554' > > > [2011-12-28 15:22:41 - HelloLinearLayout] Uploading > > > HelloLinearLayout.apk onto device 'emulator-5554' > > > [2011-12-28 15:22:41 - HelloLinearLayout] Installing > > > HelloLinearLayout.apk... > > > > I didn't get any response message says : [2011-12-28 15:22:41 - > > > HelloLinearLayout] Success ! -- this is the message I suppose to get > > > from Android ??? > > > > Is anything else I missed ? Can you shed some light on it ? > > > > On Dec 27, 5:45 am, Sander Theetaert <sander.theeta...@gmail.com> > > > wrote: > > > > I think patience is the key: > > > > > it actually does take some time before the application shows up, even > > > > 'hello world'. > > > > > I had a colleague who also 'suffered from the same problem' and the > > > > 'solution' was sitting next to him and stopping him 3 times from killing > > > > the emulator. > > > > > S. > > > > > 2011/12/22 Albert Pi <albertpi0...@gmail.com> > > > > > > I use Eclipse 3.6.1 and Android 4.0.3 (API 15) on Windows XP/Dell > > > > > optiplex 755 has 4GB Memory. > > > > > I had no issue to compile "Hello World" program and to create > > > > > "my_avd". When I ran program, my emulator only took a few minutes to > > > > > show up then I saw "lock" icon & Android, after I click "menu" from > > > > > the right panel of the emulator's screen, I can see default android > > > > > screen. It seems everything went well but I just can't see "Hello > > > > > world" text in the grey bar is actually the application title of > > > > > screen. It's not like from tutorial Hello World. > > > > > > Pleas see below my log file: > > > > > 2011-12-22 15:06:26 - Hello] ------------------------------ > > > > > [2011-12-22 15:06:26 - Hello] Android Launch! > > > > > [2011-12-22 15:06:26 - Hello] adb is running normally. > > > > > [2011-12-22 15:06:26 - Hello] Performing com.cvc.hello.HelloActivity > > > > > activity launch > > > > > [2011-12-22 15:06:26 - Hello] Automatic Target Mode: launching new > > > > > emulator with compatible AVD 'hello_avd' > > > > > [2011-12-22 15:06:26 - Hello] Launching a new emulator with Virtual > > > > > Device 'hello_avd' > > > > > [2011-12-22 15:07:00 - Hello] New emulator found: emulator-5554 > > > > > [2011-12-22 15:07:00 - Hello] Waiting for HOME > > > > > ('android.process.acore') to be launched... > > > > > [2011-12-22 15:07:59 - Hello] HOME is up on device 'emulator-5554' > > > > > [2011-12-22 15:07:59 - Hello] Uploading Hello.apk onto device > > > > > 'emulator-5554' > > > > > [2011-12-22 15:07:59 - Hello] Installing Hello.apk... > > > > > > I thought it's very simple and easy android tutorial program. Do I > > > > > miss something ? Help ????????/ > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > > > Groups "Android Developers" group. > > > > > To post to this group, send email to > > > android-developers@googlegroups.com > > > > > To unsubscribe from this group, send email to > > > > > android-developers+unsubscr...@googlegroups.com > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/android-developers?hl=en > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to android-developers@googlegroups.com > > > To unsubscribe from this group, send email to > > > android-developers+unsubscr...@googlegroups.com > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > "I know that you believe you understand what you think I said, but I'm not > > sure you realize that what you heard is not what I meant." > > - Robert McCloskey -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en