其他分享
首页 > 其他分享> > Android Studio 解决No cached version of **** available for of 问题

Android Studio 解决No cached version of **** available for of 问题

作者:互联网

第一步:

Gradle offline work 是否打钩了,如果打钩了,取消掉,然后重新gradle一下,应该就正常了

第二步:

   配置  allprojects  ->repositories

maven  {url "https://maven.aliyun.com/repository/jcenter"}
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/public' }
maven {url 'https://gitee.com/liuchaoya/libcommon/raw/master/repository/'}
maven { url "https://jitpack.io" }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url "https://dl.bintray.com/umsdk/release" }
maven { url 'https://jitpack.io' }
maven {url  "https://dl.bintray.com/rongcloud/maven"}

第三步:

File->Settings->Build,Execution,Deployment->Compiler的Command-line Options:选项,如果有配置去掉

 

标签:available,aliyun,repository,No,cached,maven,url,https,com
来源: https://blog.csdn.net/wangyiqianyi/article/details/122354631