AS升级3.2.0 编译报错:The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin.
解决方法:将 instrumentTest.setRoot(‘tests’) 转为 androidTest.setRoot('tests')
image.png原因:gradle 版本升级后,原来instrumentTest API 弃用,用新方法androidTest替换即可。
AS升级3.2.0 编译报错:The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin.
解决方法:将 instrumentTest.setRoot(‘tests’) 转为 androidTest.setRoot('tests')
image.png原因:gradle 版本升级后,原来instrumentTest API 弃用,用新方法androidTest替换即可。
本文标题:AS升级编译报错:The SourceSet 'inst
本文链接:https://www.haomeiwen.com/subject/ncopyqtx.html
网友评论