1. Github project downloads slowly

Download gitHub projects using proxies (if there are proxies)

Git clone -c http.proxy=http://127.0.0.1:10809 Github addressCopy the code
  1. Android projects compile slowly

Gradle uses Ali Cloud images

buildscript { repositories { //google() //jcenter() maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/jcenter' } maven { url 'https://maven.aliyun.com/repository/public' } } Dependencies {classpath 'com. Android. View the build: gradle: 3.5.3'}} allprojects {repositories {/ / Google () / / jcenter () maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/jcenter' } maven { url 'https://maven.aliyun.com/repository/public' } } }Copy the code
  1. The Flutter project builds slowly

• Add a second configuration for Flutter to use Ali Cloud image in Gradle if gradle download is slow

export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
Copy the code