If $ adb shell pm list instrumentation
output is empty, then you don't have any test installed. Install them first. On Feb 9, 8:44 am, Oleg Popenov <popenov.o...@gmail.com> wrote: > Hi, > > I've tried to run Instrumentation Tests on device from adb shell and I get a > strange error, could you please help me? > If I run tests for any internal android application (email for example) as > it written in AndroidManifest.xml, > > * <!--* > * This declares that this app uses the instrumentation test runner targeting > * > * the package of com.android.email. To run the tests use the command:* > * "adb shell am instrument -w > com.android.email.tests/android.test.InstrumentationTestRunner"* > * -->* > > then I get an error: > > *am instrument -w > com.android.email.tests/android.test.InstrumentationTestRunner > **INSTRUMENTATION_STATUS: id=ActivityManagerService > **INSTRUMENTATION_STATUS: Error=Unable to find instrumentation info for: > Component > **Info{com.android.email.tests/android.test.InstrumentationTestRunner} > **INSTRUMENTATION_STATUS_CODE: -1 > **android.util.AndroidException: INSTRUMENTATION_FAILED: > com.android.email.tests/a* > *ndroid.test.InstrumentationTestRunner* > > * > * > The result of the command *'pm list instrumentation' *is empty. > How can I run tests? > > Thanks in advance! > Most sincerely, Oleg -- Have you read my blog ? http://dtmilano.blogspot.com android junit tests ui linux cult thin clients -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en