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

2022/1/6 23:07:04

本文主要是介绍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:选项,如果有配置去掉

 



这篇关于Android Studio 解决No cached version of **** available for of 问题的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程