"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