解决方案是依次打开: File Menu -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle -> Experimental,
将Enable all test artifacts (Unit Test and Instrumentation Test) in Android projects取消勾选,之后我们熟悉的Test Artifact
本文介绍了解决Gradle在Android项目中导致测试配置异常的方法。通过取消勾选Enable all test artifacts (UnitTest and InstrumentationTest) in Android projects选项,可以恢复正常测试构件配置。
解决方案是依次打开: File Menu -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle -> Experimental,
将Enable all test artifacts (Unit Test and Instrumentation Test) in Android projects取消勾选,之后我们熟悉的Test Artifact
4040

被折叠的 条评论
为什么被折叠?