I'm getting this error when trying to run BasicSample: :app:testDebug FAILED FAILURE: Build failed with an exception. - What went wrong: Execution failed for task ':app:testDebug'. > Test filtering is not supported for given version of JUnit. Please upgrade JUnit version to at least 4.6. I am using Android Studio 1.2 Beta 3.