【发布时间】:2018-03-27 11:19:04
【问题描述】:
升级到 Android Studio 3.1 后的大问题,我得到:
No cached version of com.github.bumptech.glide:compiler:4.6.1 available for offline mode
但我没有处于离线模式,如您在此处看到的:
我尝试了 Clean Project 和 Rebuild Project,但均未成功。 我什至重新启动了我的电脑。
这是我的 Build.gradle:
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:design:27.1.0'
implementation 'com.android.support:support-v4:27.1.0'
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation "com.android.support:gridlayout-v7:27.1.0"
implementation 'com.android.support:exifinterface:27.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.google.code.gson:gson:2.8.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'com.github.bumptech.glide:glide:4.6.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'
}
【问题讨论】:
-
感谢 KuLdip,但我已经有了 Gradle-awake Make 条目
-
Bintray 的 JCenter 目前已关闭。也许你的问题是相关的? -> status.bintray.com
标签: android android-studio gradle offline android-glide