因为众所周知的原因,flutter run的时候不能成功下载依赖库
需要手动添加
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'}
在flutter SDK中 也要手动改一下配置
Flutter\flutter_sdk\packages\flutter_tools\gradle