Android(安卓)Studio 新建项目一直在 Gradle Sync 的问题
16lz
2021-01-25
如何解决,发现阿里云有镜像,只需要添加相应的url地址就可以下载;打开项目build gradle文件。
buildscript { repositories { maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.3.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }} allprojects { repositories { maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} google() jcenter() }}
更多相关文章
- 万字长文带你了解最常用的开源 Squid 代理服务器
- Linux x86 编译 Android(安卓)遭遇 gnu/stubs-64.h
- android手机通过USB共享电脑网络
- Android(安卓)API 23中废弃了HttpClient的解决办法
- 运行Android(安卓)studio报错com.google.android.gms:play-servi
- 实验五 迭代法解线性方程组与非线性方程(android)
- [转] Android(安卓)检测电源按钮是否被按下
- android 通过经纬度获取地址信息
- 据说年薪30万的Android程序员必须知道的帖子