Hello World Emulator Issue

by Structure » Tue, 11 Aug 2009 08:50:19 GMT


Sponsored Links
 I'm starting out in Android developing but I can't seem to even get
the very first Hello World tutorial to run. I've followed the
instructions at  http://developer.android.com/guide/tutorials/hello-world.html. 
When I run the application from within eclipse the emulator starts up
fine and eventually I get to the home screen but my application
doesn't start.
There's no errors in the output:
[2009-08-10 17:41:07 - Hello] Android Launch!
[2009-08-10 17:41:07 - Hello] adb is running normally.
[2009-08-10 17:41:07 - Hello] Performing
com.android.helloandroid.HelloAndroid activity launch
[2009-08-10 17:41:07 - Hello] Automatic Target Mode: launching new
emulator with compatible AVD 'my_avd'
[2009-08-10 17:41:07 - Hello] Launching a new emulator with Virtual
Device 'my_avd'

I did a search for this issue and it seems to have come up a few times
but there were no resolutions.
I'm on Vista 32bit. Any help would be appreciated.

--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Issue

by Roman » Tue, 11 Aug 2009 11:37:19 GMT


 Use the TaskManager on Windows to find out whether another emulator
process is running. If so kill the process and restart the emulator.

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Hello World Emulator Issue

by Structure » Tue, 11 Aug 2009 11:48:15 GMT


 Still no luck. There's no extra emulator process running. I restarted
my computer to make absolutely sure and still no go.
Any other ideas?




--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Issue

by Structure » Thu, 13 Aug 2009 09:05:35 GMT


 So, no resolution this time either?





--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Issue

by Roman ( T-Mobile USA) » Thu, 13 Aug 2009 10:58:21 GMT


 an you see whether your application is uploaded to the emulator? You
should see something like this

[2009-08-12 19:53:12 - Test3] Waiting for HOME
('android.process.acore') to be launched...
[2009-08-12 19:53:13 - Emulator] 2009-08-12 19:53:13.704 emulator
[22750:10b] Warning once: This application, or a library it uses, is
using NSQuickDrawView, which has been deprecated. Apps should cease
use of QuickDraw and move to Quartz.
[2009-08-12 19:54:19 - Test3] HOME is up on device 'emulator-5554'
[2009-08-12 19:54:19 - Test3] Uploading Test3.apk onto device
'emulator-5554'
[2009-08-12 19:54:19 - Test3] Installing Test3.apk...
[2009-08-12 19:54:30 - Test3] Success!
[2009-08-12 19:54:30 - Test3] Starting activity com.test.test on
device
[2009-08-12 19:54:32 - Test3] ActivityManager: Starting: Intent { comp=
{com.test/com.test.test} }

If not let me know what you can see in your console window.

If you are able to successfully start the emulator you could try to
use adb install to install your application manually. Any luck with
this?

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
T Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Aug 12, 6:05pm, Structure <stmb...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Issue

by Christian Grasser » Sun, 13 Sep 2009 05:02:05 GMT


 I have the same problem!
Emulator is starting and no Hello World is running :-(

i don't see anything like this: Waiting for HOME

My output:
[2009-09-11 13:17:10 - HelloAndroid] ------------------------------
[2009-09-11 13:17:10 - HelloAndroid] Android Launch!
[2009-09-11 13:17:10 - HelloAndroid] adb is running normally.
[2009-09-11 13:17:10 - HelloAndroid] Performing
com.example.helloandroid.HelloAndroid activity launch
[2009-09-11 13:17:10 - HelloAndroid] Automatic Target Mode: launching
new emulator with compatible AVD 'my_avd'
[2009-09-11 13:17:10 - HelloAndroid] Launching a new emulator with
Virtual Device 'my_avd'

--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Issue

by infero » Tue, 15 Sep 2009 01:45:48 GMT


 Hi Christian,

I had the same problem. I searched every menu item to see if I had to
show/enable another window or what ever. I finaly found out that my
mobile phone was connected through the USB cable and the application
ran there - instead of in the emulator....

HTH

--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Issue

by Ankit » Mon, 26 Oct 2009 16:13:41 GMT


 [2009-10-25 22:03:45 - HelloAndroid]Android Launch!
[2009-10-25 22:03:45 - HelloAndroid]adb is running normally.
[2009-10-25 22:03:45 - HelloAndroid]Performing
com.example.helloandroid.HelloAndroid activity launch
[2009-10-25 22:03:45 - HelloAndroid]Automatic Target Mode: launching
new emulator with compatible AVD 'my_avd'
[2009-10-25 22:03:45 - HelloAndroid]Launching a new emulator with
Virtual Device 'my_avd'
[2009-10-25 22:03:45 - HelloAndroid]New emulator found: emulator-5554
[2009-10-25 22:03:45 - HelloAndroid]Waiting for HOME
('android.process.acore') to be launched...


me facing the same problem. If there is no solution to this, I would
have no choice but to drop the idea of learning android platform... I
am using Win 7 RC, eclipse 3.5.1 and android sdk v1.6_r1

--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Issue

by eric man » Thu, 29 Oct 2009 14:43:09 GMT


 I guess you all that started this post have already found the problem!
Im writing this for some other ppl that might want to check the same
issue!\

The problem is that you should wait at least 2 to 5 min till you get
to see you appi running, even that the emulator start right away!

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. copy big size file crash

Hi, Dear All,

    Now, there is an issue worried me very much.
    I constructed a small application(myapp), and try to copy a big
size(about 150M) file to some other folders; but it always crashed.
some other processes first, but it will kill the process myapp at
last.
    Below is my sample code:
=========================================
        FileInputStream input=new FileInputStream(srcFile);
        FileOutputStream output=new FileOutputStream(desFile);
        byte[] b=new byte[4*1024];  //4k buffer
        int len;

        try{
            while(-1 != (len=input.read(b))){
                output.write(b,0,len);

            }
        }catch(IOException e){

        }finally{
            output.flush();
            output.close();
            input.close();
        }
====================================

    Could anyone give me some advice? Thanks in advance!

BRs,
Pinfiled

--~--~---------~--~----~------------~-------~--~----~

2. Android Dev Phone 1 out of stock

Hej.

Yesterday I registered in the Android Market Place to be able to
retrieve one of the dev devices. But after I had registered and paid
the fee I was told that the dev phones are currently out of stock.
Since I need one of those devices for my masterthesis I was very
unhappy to hear that it may take "a few weeks".

Does anyone know (or can one estimate) when they might be available
again?

Regards,
Kenpark
--~--~---------~--~----~------------~-------~--~----~

3. xml

4. Reuse alertmanager loading-image

5. Many Listviews problem

6. Adding custom objects to JSCore

7. Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, 200) does not change real hardware value