Hi,
We are exploring to run the Instrumentation tests for Android 1.1 r1.
On the ARM-based target, Applications Apidemos.apk and
ApiDemosTests.apk are copied in /system/app location.
We run following command and got the error:
framework=/system/framework
bpath=$framework/core.jar:$framework/ext.jar:$framework/framework.jar:
$framework/android.test.runner.jar
am instrument -w com.example# .android.apis/
android.test.InstrumentationTestRunner
INSTRUMENTATION_FAILED: com.example.android.apis/
android.test.InstrumentationTestRunner
usage: am [start|broadcast|instrument]
am start -D INTENT
am broadcast INTENT
am instrument [-r] [-e <ARG_NAME> <ARG_VALUE>] [-p <PROF_FILE>]
[-w] <COMPONENT>
INTENT is described with:
[-a <ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>]
[-c <CATEGORY> [-c <CATEGORY>] ...]
INSTRUMENTATION_STATUS: Error=Unable to find instrumentation info for:
ComponentInfo{com.example.android.apis/
android.test.InstrumentationTestRunner}
INSTRUMENTATION_STATUS: id=ActivityManagerService
INSTRUMENTATION_STATUS_CODE: -1
[-e|--es <EXTRA_KEY> <EXTRA_STRING_VALUE> ...]
[--ez <EXTRA_KEY> <EXTRA_BOOLEAN_VALUE> ...]
[-e|--ei <EXTRA_KEY> <EXTRA_INT_VALUE> ...]
[-n <COMPONENT>] [-f <FLAGS>] [<URI>]
#
What are we missing ?
Thanks and Regards,
Vrukesh
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---