Can you please confirm the following:
- The application under test (not the test package) works fine in
Eclipse?
- Both the application under test and the test package work fine from
the command line?
- You've followed the directions for setting up a test package in
Eclipse? See Dev Guide > Developing > Testing > In Eclipse with ADT?

What test case class are you extending in your test package? Are you
running your test package with android.test.InstrumentationTestRunner?

The message suggests that the problem is in ADT, not anywhere else.
The version of ADT you use has to be compatible with the SDK you're
using. I usually un-install the ADT and re-install the new version
when I'm upgrading an SDK.

Elk? What Elk?

On Jan 21, 4:40 pm, gaurav <[email protected]> wrote:
> I have configured the Froyo source code in eclipse. I am trying to run
> android junit test "Run as-> Android JUnit Test", a error pop-up
> comes.
> When i try to run the already existing Android Junit Test cases or my
> own test case (compiled with froyo source), I get following error.
> Test runs fine when I run it from command prompt.
>
> I guess this is ADT related issue, but don't have any solution. I
> tried it on Eclipse galileo and helios, tried ADT 8.0.. and 9.0.0,
> Java version 1.5 and 1.6...nothing worked.
>
> Please help

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to