Hi All, I was able to overcome these initial problems by playing with the script file and class path setting.
Now I do not get and such DefNotFOund Error. The next issue is that i am not getting the CTC prompt. The current output of ./cts-tradefed is - Android CTS 4.0.3_r1 No commands for non-interactive mode; exiting. 01-11 21:45:38 I/DeviceManager: Detected new device 000e1b0e2dfe1e Any advice to overcome this will be a great help. Thanks in advance On Jan 11, 8:04 pm, Amit <amitmishr...@gmail.com> wrote: > Hi All, > > I am trying to run the CTS 4.03 under Windows XP using the Cygwin. > > When i try to run ./cts-tradefred under cygwin, I get the following > error- > > java.lang.NoClassDefFoundError: com/android/cts/tradefed/command/ > CtsConsole > Caused by: java.lang.ClassNotFoundException: > com.android.cts.tradefed.command.CtsConsole > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > Could not find the main class: > com.android.cts.tradefed.command.CtsConsole. Program will exit. > Exception in thread "main" > > Here the the various path related information- > > CTS ROOT is -./../.. > JAR Directory is - ./../../android-cts/tools > JAR_PATH is -:./../../android-cts/tools/ddmlib-prebuilt.jar:./../../ > android-cts/tools/tradefed-prebuilt.jar:./../../android-cts/tools/ > hosttestlib.jar:./../../android-cts/tools/cts-tradefed.jar > > $ echo $CLASSPATH > C:\Program Files\Java\jdk1.6.0_20\bin;C:\Program Files\Java > \jdk1.6.0_20\lib;. > > $ echo $PATH > /usr/local/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/ > WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/android-sdk- > windows/android-sdk-windows/platform-tools:/cygdrive/c/Program Files/ > IDM Computer Solutions/UltraCompare > > Thanks in Advance > Amit -- 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