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