2020
10-08
10-08
gradle配置国内镜像的实现
使用阿里云国内镜像对单个项目生效,在项目中的build.gradle修改内容buildscript{repositories{maven{url'https://maven.aliyun.com/repository/google/'}maven{url'https://maven.aliyun.com/repository/jcenter/'}}dependencies{classpath'com.android.tools.build:gradle:2.2.3'//NOTE:Donotplaceyourapplicationdependencieshere;theybelong//intheindividualmodulebuild...
继续阅读 >
对于Python开发用户来讲,PIP安装软件包是家常便饭。但国外的源下载速度实在太慢,浪费时间。而且经常出现下载后安装出错问题。所以把PIP安装源替换成国内镜像,可以大幅提升下载速度,还可以提高安装成功率。 国内源:新版ubuntu要求使用https源,要注意。清华:https://pypi.tuna.tsinghua.edu.cn/simple中国科技大学https://pypi.mirrors.ustc.edu.cn/simple/阿里云:http://mirrors.aliyun.com/pypi/simple/华中理工大学...