JavaShuo
栏目
标签
AS升级3.1 编译报错:The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin.
时间 2021-07-11
栏目
Android
繁體版
原文
原文链接
原因 是这里出问题了 instrumentTest.setRoot(‘tests’) ,你可能在升级 Android Studio 时更新了项目的 gradle 配置,这里的配置中 instrumentTest 已被弃用,不适用于现在的 gradle 版本。 解决办法用 androidTest 替换 instrumentTest,编译运行即可。
>>阅读原文<<
相关文章
1.
The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin. Perhaps you misspelle
2.
【androidstudio】The SourceSet ‘instrumentTest‘ is not recognized by the Android Gradle Plugin
3.
The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin.
4.
Android Studio 升级为3.1 踩到的坑
5.
Android Studio 3.1升级3.2 实践
6.
AS3.1.2 Configuration on demand is not supported by the current version of the Android Gradle plugin
7.
解决报错:The versions of the Android Gradle plugin and Gradle are not compatible
8.
解决gradle升级报错 This version of Android Studio is incompatible with the Gradle Plugin used
9.
Android studio2.3.3升级3.1.2坑
10.
针对The term ‘webpack‘ is not recognized as the name of a cmdlet问题
更多相关文章...
•
Eclipse 编译项目
-
Eclipse 教程
•
Kotlin 使用命令行编译
-
Kotlin 教程
•
Kotlin学习(一)基本语法
•
RxJava操作符(一)Creating Observables
相关标签/搜索
mysql..the
the&nbs
mysql....the
The One!
5.the
mysql...the
3.1升
recognized
sourceset
plugin
Android
Gradle
Hibernate教程
PHP教程
SQLite教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
springboot在一个项目中启动多个核心启动类
2.
Spring Boot日志-3 ------>SLF4J与别的框架整合
3.
SpringMVC-Maven(一)
4.
idea全局设置
5.
将word选择题转换成Excel
6.
myeclipse工程中library 和 web-inf下lib的区别
7.
Java入门——第一个Hello Word
8.
在chrome安装vue devtools(以及安装过程中出现的错误)
9.
Jacob线上部署及多项目部署问题处理
10.
1.初识nginx
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin. Perhaps you misspelle
2.
【androidstudio】The SourceSet ‘instrumentTest‘ is not recognized by the Android Gradle Plugin
3.
The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin.
4.
Android Studio 升级为3.1 踩到的坑
5.
Android Studio 3.1升级3.2 实践
6.
AS3.1.2 Configuration on demand is not supported by the current version of the Android Gradle plugin
7.
解决报错:The versions of the Android Gradle plugin and Gradle are not compatible
8.
解决gradle升级报错 This version of Android Studio is incompatible with the Gradle Plugin used
9.
Android studio2.3.3升级3.1.2坑
10.
针对The term ‘webpack‘ is not recognized as the name of a cmdlet问题
>>更多相关文章<<