java - To use Android Studio encountered an error -


i have android studio (google i/o preview). created android project in android studio, , when run it, studio tell me :

/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java -ea -didea.launcher.port=7534 -didea.launcher.bin.path=/home/username/android-studio/bin -dfile.encoding=utf-8 -classpath /home/username/android-studio/lib/idea_rt.jar:/home/username/android-studio/plugins/junit/lib/junit-rt.jar:/home/username/android-studio/sdk/platforms/android-17/android.jar:/home/username/android-studio/sdk/platforms/android-17/data/res:/home/username/android-studio/sdk/tools/support/annotations.jar:/home/username/androidstudioprojects/test/test/libs/android-support-v4.jar com.intellij.rt.execution.application.appmain com.intellij.rt.execution.junit.junitstarter -ideversion5 @/tmp/idea_junit6666593680737984739.tmp -socket52225 exception in thread "main" java.lang.noclassdeffounderror: junit/textui/resultprinter @ java.lang.class.forname0(native method) @ java.lang.class.forname(class.java:188) @ com.intellij.rt.execution.application.appmain.main(appmain.java:113) caused by: java.lang.classnotfoundexception: junit.textui.resultprinter @ java.net.urlclassloader$1.run(urlclassloader.java:366) @ java.net.urlclassloader$1.run(urlclassloader.java:355) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:354) @ java.lang.classloader.loadclass(classloader.java:423) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308) @ java.lang.classloader.loadclass(classloader.java:356) ... 3 more  process finished exit code 1 

what can try?i've googled haven't had luck.

i don't know.when use windows version, didn't meet error;

sounds me windows version has missing class while linux version not.

caused by: java.lang.classnotfoundexception: junit.textui.resultprinter

make sure have class in library or ever calling for.

hope helps or points right direction.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -