Hi,

I am having the G1 Dev Device with me. I updated that device with the
Android 1.5 (As per the instructions given in the HTC support page).
After that I just installed the API demos in the Android 1.5 r3 SDK.
After that I am trying to run the instrumentation test cases in the
API Demos.

I am trying to exeute this command, But, I am not succed with that.
Here is the command and errors.


C:\Documents and Settings\rajendra>adb shell am instrument -w \ -e
class com.example.android.apis.os.MorseCodeConverterTest \
com.example.android.api
s.tests/android.test.InstrumentationTestRunner
INSTRUMENTATION_STATUS: Error=Unable to find instrumentation info for:
ComponentInfo{com.example.android.apis.tests/
android.test.InstrumentationTestRu
nner}
INSTRUMENTATION_STATUS: id=ActivityManagerService
INSTRUMENTATION_STATUS_CODE: -1
INSTRUMENTATION_FAILED: com.example.android.apis.tests/
android.test.InstrumentationTestRunner
usage: am [start|broadcast|instrument|profile]
       am start -D INTENT
       am broadcast INTENT
       am instrument [-r] [-e <ARG_NAME> <ARG_VALUE>] [-p <PROF_FILE>]
                [-w] <COMPONENT>
       am profile <PROCESS> [start <PROF_FILE>|stop]

       INTENT is described with:
                [-a <ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>]
                [-c <CATEGORY> [-c <CATEGORY>] ...]
                [-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>]

This command I found in the AllTests.java file which is inside the
APIdemos project. Can anyone give me pointers or suggestions how to
begin witht he instrumations in Android 1.5 and how to run the
samples.

I was running these successful ni Android 1.1 and 1.0


Thanks
Rk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to