Here are the answers: 1. I have put my application inside the system apps myfroyoDir/ packages/apps folder and built it using command line. And running the emulator and app from command prompt.
2. Yes both app and test package works fine from command prompt. 3. Yes I am running my test package with android.test.InstrumentationTestRunner. I tried to use ADT 8.0.1 as well as 9.0.0, no luck. I did reinstallation of ADT with 2 different version. Tried using different versions of eclipse. Only thing now I can do is to use different versions of Android SDK. On Jan 21, 4:48 pm, "A. Elk" <[email protected]> wrote: > 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

