提问者:小点点

Android StudioSDKJUnit测试不工作


我对android studio相当陌生,我正在尝试在我正在制作的应用程序上进行一些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.

我该怎么解决这个问题?


共1个答案

匿名用户

遵循以下步骤-

  1. 转到菜单运行-