unit testing - Roboletric test error on Android Studio -


i trying set robolectric unit testing environment on android studio. followed steps here:

http://www.peterfriese.de/android-testing-with-robolectric/

i modified build.gradle file describled in document , sync project. did built , junit , roboelctric jars appear in external library in android studio ide. when ran

./robolectric test

i saw errors:

package org.junit.runner not exist import org.junit.runner.runwith; 

...

however package exists in external library, why error still happens? checked project source tree cannot find jars in project. gradle put downloaded jars?


Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -