maven{url ‘http://maven.aliyun.com/nexus/content/groups/public/’}
}
dependencies {
classpath ‘com.android.tools.build:gradle:4.1.0’
//classpath ‘com.android.tools.build:gradle:3.5.2’
classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version”
}
}
allprojects {
repositories {
//google()
//jcenter()
//mavenCentral()
maven { url ‘https://maven.aliyun.com/repository/google’ }
maven { url ‘https://maven.aliyun.com/repository/jcenter’ }
maven{url ‘http://maven.aliyun.com/nexus/content/groups/public/’}
}
}
3.1.4 Flutter SDK修改
Flutter SDK的安装位置
D:\SoftWare\flutter