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.
gitlab新建分支後,android studio拿不到
2.
Android Wi-Fi 連接/斷開時間
3.
今日頭條面試題+答案,花點時間看看!
4.
小程序時間組件的開發
5.
小程序學習系列一
6.
[微信小程序] 微信小程序學習(一)——起步
7.
硬件
8.
C3盒模型以及他出現的必要性和圓角邊框/前端三
9.
DELL戴爾筆記本關閉觸摸板觸控板WIN10
10.
Java的long和double類型的賦值操作爲什麼不是原子性的?
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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問題
>>更多相關文章<<