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. How to achieve ultra smooth OpenGL/ES animation

Hello Android OpenGL/real-time gurus,

I am drawing a pretty simple scene, with one large texture the about
size of the screen (two triangles). I notice that the frame-rate is
irregular: in most of cases, a frame finishes in 17 ms. However, in
about 1 of 10 times, the frame finishes in 33ms.

My guess is probably some background services need to run. However,
the Linux scheduler is biased towards my FG app, so the BG services
are usually starved, until they can't take it anymore and they grab
the CPU from my app ....

I am seeing stuttering in the animation. Is this due to the irregular
frame rate? Should I delay each frame so that all frames are rendered
with 33ms frame time? If so, what's the best technique of achieving
this?

Is there an API that I can call to guarantee CPU resources for the
render thread .... I really hope Android runs on some sort of real
time kernel ...

Thanks!

-- 

2. Split and join files

I have a large database and my plan is to supply it along with the app
so that the users need not wait for around 15 min for the initial
download, xml processing and creating the database.

I want to put the database files in the assets folder and copy them
when the user uses the app for the first time. But since there is a
filesize restriction on the files in assets folder, I want to split
the database files and then put them in the assets folder. Now when
the user opens the app for the first time all i want to do is join
these files and copy them to the device.

I have searched around and saw that a couple of posts which mentioned
that it is possible but did not find anything that explains how to do
split the files and join them.

please let me know how I can do this.

Thank you.

-- 

3. How to Put common header for entire application Like Android Market application

4. Recognizer Intent Question. Any help would be great. Thank you

5. SDK Setup.exe not working

6. Application not run in the background

7. No market on HTC hero