I was also having the same error

Go to
Run>Run Configurations

In the left panel see if your project is listed under Android
Application
if not check in other options like Android JUnit Test, Eclipse
Application .... etc
if u find your project (in this case Hello Android) delete it by
clicking the delete button above the panel

Now go to Android Applicaton and click on New button above the panel
you will see a browse button on the right panel
Click Browse > Select your project (Hello Android)
Change the Name above where it says New_configuration to HelloAndroid
Click Apply
Hit Run

you should be fine now


On Aug 8, 1:18 am, Brett Chabot <[email protected]> wrote:
> It sounds like you're selecting "Run As > Android JUnit Test" when
> attempting to run your app. This will attempt to execute all the JUnit
> tests in your project, but your project isnotproperly configured as
> a test project. What you probably want instead is to select "Run As >
> AndroidApplication". This will install the app on the emulator, and
> launch its default activity.
>
> Brett.
>
>
>
> On Fri, Aug 7, 2009 at 12:04 AM, Pugnap00<[email protected]> wrote:
>
> > So ive set up eclipse, with android SKD, and im trying to get the test
> > HelloAndroid to run. My AVD is setup correctly, i did it through the
> > command prompt. Whenever i go to run my app i get thiserror.
>
> >ERROR:Applicationdoesnotspecifya
> >android.test.InstrumentationTestRunnerinstrumentationordoesnot
> >declareuses-libraryandroid.test.runner
>
> > Ive configured the build path. Ive never used eclipse before so i get
> > lost in this IDE pretty quik :P

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to