2
我对android工作室相当陌生,而且我正在尝试对我制作的应用程序进行一些JUnit测试。但我不断收到此错误:Android Studio SDK JUnit测试不工作
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. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 11.791 secs Test filtering is not supported for given version of JUnit. Please upgrade JUnit version to at least 4.6.
我该如何解决这个问题?
添加测试运行按照下面的截图
所以...为什么不做它建议的和*“(...)使用--stacktrace或--info或--debug(...)运行“*? – kryger