刚学习Android studio,被这个搞得头晕死了。
offline模式下,
Could not download compiler.jar (com.github.bumptech.glide:compiler:4.11.0): No cached version available for offline mode
关掉offline,又变成这样,要我offline
Could not HEAD 'https://dl.bintray.com/getactivity/maven/com/github/chrisbanes/PhotoView/2.3.0/PhotoView-2.3.0.pom'. Received status code 502 from server: Bad Gateway
Enable Gradle 'offline mode' and sync project
就很矛盾,我不开网,下不了compiler.jar;但是我开了网又下不了PhotoView-2.3.0;可是明明我本地这两个包都有的啊,都放在
C:\Users\Administrator.gradle\caches\modules-2\files-2.1
这里面,都是项目下的包。