关于Android Studio 3.3.2 Library Revisions 28.0.0的问题

问题描述 投票:2回答:1

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
android android-gradle
1个回答
0
投票

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

在Windows中:

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

在Mac中:

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

© www.soinside.com 2019 - 2024. All rights reserved.