Flutter开发问题解决记录

1. 安装第三方库无法下载Google有关的资源。

在android 项目文件 build 文件 把 

google()
jcenter()
修改 为 

maven 仓 改用阿里的镜像访问
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' }


参考:https://blog.csdn.net/qq_34272093/article/details/106459433

猜你喜欢

转载自blog.csdn.net/weixin_41735943/article/details/106869263