记录Flutter开发环境搭建踩过的坑-初次运行卡在Running Gradle task 'assembleDebug' 解决方法
flutter安装目录下,把
/packages/flutter_tools/gradle/flutter.gradle
中的private static final String MAVEN_REPO = "https://storage.googleapis.com/download.flutter.io";
改为private static final String MAVEN_REPO = "https://mirrors.tuna.tsinghua.edu.cn/flutter/download.flutter.io";
修改后保存,重新运行app,等待一点时间,跑起来了,ok!
文章来自:https://www.cnblogs.com/CodeXiang/p/13111761.html