我有关Android Studio 3.3.2库修订版28.0.0的问题

时间:2019-03-26 02:47:38

标签: android android-gradle

enter image description here

ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Failed to transform file 'swiperefreshlayout-28.0.0.aar' to match attributes {artifactType=android-exploded-aar} using transform ExtractAarTransform
Show Details
Affected Modules: app


ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Failed to transform file 'swiperefreshlayout-28.0.0.aar' to match attributes {artifactType=android-exploded-aar} using transform ExtractAarTransform
Show Details
Affected Modules: app


ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Failed to transform file 'swiperefreshlayout-28.0.0.aar' to match attributes {artifactType=android-exploded-aar} using transform ExtractAarTransform
Show Details
Affected Modules: app

1 个答案:

答案 0 :(得分:0)

尝试从gradle offline work设置中禁用android studio

在Windows中:

  

文件>设置>构建,执行,部署> Gradle>取消选中   离线工作

在Mac中:

  

Android Studio>首选项>构建,执行,部署> Gradle>取消选中   离线工作