Flutter更新版本后设置

flutter安装目录/packages/flutter_tools/gradle下,
flutter.gradle
aar_init_script.gradle
resolve_dependencies.gradle

https://storage.googleapis.com
改为 https://storage.flutter-io.cn

 

另外,
google(),
mavenCenter(),

改为
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/central' }

 

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注