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

第一步:

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

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

第二步:

   配置  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:选项,如果有配置去掉

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

 

上一篇:Git删除文件或者目录


下一篇:Git-移除版本控制