I checked it again, unfortunately this is not the problem. The package
matches the package of the application:

<instrumentation android:targetPackage="at.test.android.myapplication
" android:name="android.test.InstrumentationTestRunner" />

at.test.android.myapplication  is the package, in which the source of
the application is.

On May 10, 12:12 am, "Fred Grott(Android Expert, 
http://mobilebytes.wordpress.com)"
<[email protected]> wrote:
> recheck your test manifest do you have the right package listed in the
> manifest?
>
> On May 9, 2:51 pm, Patrick <[email protected]> wrote:
>
>
>
> > Hallo!
>
> > I implemented a junit3 test in an Android Test Project (which was
> > created by the wizard) testing classes of my real project. Running the
> > unittest I get the following error:
>
> > [2010-05-09 21:30:05 - AndroidConsumerApplicationTest] Performing
> > android.test.InstrumentationTestRunner JUnit launch
> > [2010-05-09 21:30:05 - AndroidConsumerApplicationTest] Automatic
> > Target Mode: using existing emulator 'emulator-5554' running
> > compatible AVD 'AVD1.6'
> > [2010-05-09 21:30:05 - AndroidConsumerApplicationTest] Uploading
> > MyApplicationTest.apk onto device 'emulator-5554'
> > [2010-05-09 21:30:06 - AndroidConsumerApplicationTest] Installing
> > MyApplicationTest.apk...
> > [2010-05-09 21:30:08 - AndroidConsumerApplicationTest] Success!
> > [2010-05-09 21:30:08 - AndroidConsumerApplicationTest] Project
> > dependency found, installing: MyApplication
> > [2010-05-09 21:30:10 - AndroidConsumerApplication] Application already
> > deployed. No need to reinstall.
> > [2010-05-09 21:30:10 - AndroidConsumerApplicationTest] Launching
> > instrumentation android.test.InstrumentationTestRunner on device
> > emulator-5554
> > [2010-05-09 21:30:14 - MyApplicationTest] Test run failed: Unable to
> > find instrumentation target package: at.test.android.myapplication
>
> > Do you have an idea, what could cause this problem?
>
> > Thanks in advance
>
> > --
> > 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 
> > athttp://groups.google.com/group/android-developers?hl=en
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

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