Are you developing the app in Eclipse? If so, you can use the Windows ->
Android SDK and ADB option to open a dialog window. From there, on the left
are 3 options. The Installed Packages, if you click that, make sure you have
all the APIs (1.1 - 2.0.1 or 2.1 soon). You may also want to get the google
apis if you plan on doing anything with maps and such. Next, click the
Virtual Devices on the left.. and create a new AVD. Make sure when you do
this, you select the properties you need (a drop down list near bottom of
this dialog allows you to add various properties to simulate a specific type
of device). You'll probably want to add a keyboard so when your Emulator
starts up, you can hit the MENU button to get past the lock screen and
actually see your app run.

Now, once you do this, and you've create a new project in Eclipse using
their New -> Project -> Android Project, you can right-click on the project
and Run it and it will pop up the AVD dialog showing AVD's you've created
and you pick one and it will run your app in that emulator. If it is already
running (leave it running once it starts as it takes a good minute or so to
start up), it will redeploy your app in it.

Does that help? Not sure why you were trying to run your app using the
command line if you're developing within Eclipse.

If you are using the command line, you need to do the >emulator -avd <avd
name you created> to run the emulator. From there you then have to do the
adb install <name.apk> to get the .apk loaded and running in the running
emulator.



On Fri, Jan 8, 2010 at 9:30 PM, Rc3375 <[email protected]> wrote:

> Recently got new windows7 laptop, and did a new install of eclipse/ant
> and android.  When eclipse fires up...unable to parse adb version.  I
> have checked and rechecked a million times...all the paths are
> correct, and all the files are in the right places.  The emulator
> won't fire up IF you just try and RUN the app, it will not start
> (error:restart adb and eclipse). Done that too a million times, same
> error.  BUT when you use one of the packages(ie : Android1.5 ) from
> the preferences menu....android will indeed fire up.  Problem is the
> app fails to appear on the emulator...,
> Does anyone have any clues where I'm going wrong???? Any clues would
> be greatly appreciated.....thanks to all for the assistance, Rc3375
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
>
-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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

Reply via email to