git地址
中文地址
glide的官方介绍是一个An image loading and caching library for Android focused on smooth scrolling
(一个针对Android专注平滑滚动的图片加载和缓存库)。
将glide导入AndroidStudio 弄了好久不成功,报错
CONFIGURE SUCCESSFUL in 3s
Calling mockable JAR artifact transform to create file: /Users/liuyong/.gradle/caches/transforms-1/files-1.1/android.jar/3cc7f5b6ac5b61057252ba386682ae20/android.jar with input /Users/liuyong/Library/Android/sdk/platforms/android-28/android.jar
Could not resolve all files for configuration ':instrumentation:androidApis'.
Failed to transform file 'android.jar' to match attributes {artifactType=android-mockable-jar, returnDefaultValues=false} using transform MockableJarTransform
解决方法将gradle.properties
的ANDROID_GRADLE_VERSION=3.2.1
修改为ANDROID_GRADLE_VERSION=3.1.4
,并且将scripts/upload.gradle
文件中的archives project.tasks.bundleDebugAar
注视掉,即可构建出来。
参考
网友评论