Finally it worked now. I am not sure why but it took like 10 mins.
I found a way to make it easy.
1. Use command line to run the emulator
emulator -avd avd_device_name to let it show the main menu.
2. Run Hello World by eclipse.
3. It will ask you to choose android device. Just select
"Choose a running Android device".
FYI
On Sun, Jun 14, 2009 at 2:11 PM, Fahd <[email protected]> wrote:
>
> All of a sudden it began to work!!!
>
> when running i got two new statements that I didnt before:
> [2009-06-14 22:09:29 - HelloAndroid] New emulator found: emulator-5554
> [2009-06-14 22:09:29 - HelloAndroid] Waiting for HOME
> ('android.process.acore') to be launched...
>
> Can anyone help me understand why I may not be getting these and if
> these are causing the application to appear in the emulator?
>
> Fahd
>
> On Jun 14, 7:56 am, Fahd <[email protected]> wrote:
> > I found out how to clean :)
> >
> > Ok now a message is coming "Sorry! Process com.android.phone is not
> > responding Force close or wait"
> >
> > nothing happens with either option.
> >
> > some progress but still no hello android window...
> >
> > Fahd
> >
> > On Jun 14, 7:16 am, Fahd <[email protected]> wrote:
> >
> >
> >
> > > I see. What do you exactly mean by clean Mike?
> >
> > > Fahd
> >
> > > On Jun 14, 3:37 am, Michael Dorin <[email protected]> wrote:
> >
> > > > I was/am having the same problem.
> > > > I saw a post that said do a 'clean' then exit eclipse and go back
> in...
> > > > then it should work.
> > > > Let me know how it goes please.
> > > > -Mike
> >
> > > > On Sat, Jun 13, 2009 at 8:22 PM, Fahd<[email protected]> wrote:
> >
> > > > > Hi All,
> >
> > > > > I am pretty new to android development. I followed all the
> > > > > instructions to install the android SDK and configure the Eclipse
> > > > > environment.
> >
> > > > > I was then doing the Hello World example. The problem is that when
> I
> > > > > run the following code:
> > > > > "
> > > > > package com.example.helloandroid;
> >
> > > > > 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 savedInstanceState) {
> > > > > super.onCreate(savedInstanceState);
> > > > > TextView tv = new TextView(this);
> > > > > tv.setText("Hello, Android");
> > > > > setContentView(tv);
> > > > > }
> > > > > }
> > > > > "
> > > > > the emulator starts and after some time, when it loads fully, it
> takes
> > > > > me to the android desktop in the mobile. However my helloword
> > > > > application never appears! I waited quite a bit after it was fully
> > > > > loaded but still nothing. I don't get the blackscreen with "Hello,
> > > > > Android" text on it.
> >
> > > > > I do recall the following errors that occurred when I created the
> > > > > HelloAndroid project as per example's instructions:
> > > > > "
> > > > > [2009-06-14 01:49:17 - HelloAndroid] no classfiles specified
> > > > > [2009-06-14 01:49:17 - HelloAndroid] Conversion to Dalvik format
> > > > > failed with error 1
> > > > > "
> >
> > > > > Can anyone help me out please?
> > > > > Fahd
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---