更新flutter之后,flutter run报错
更新flutter之后,新建项目,运行flutter run,出现错误。
Using hardware rendering with device Android SDK built for x86. If you
get graphics artifacts, consider enabling software rendering with
“–enable-software-rendering”. Launching lib\main.dart on Android SDK
built for x86 in debug mode… Initializing gradle…
\
Sending crash report to Google. Failed to send crash report due to a
network error: SocketException: OS Error: 信号灯超时时间已到 , errno = 121,
address = clients2.google.com, port = 27630
配置一下更新服务器地址,build.gradle文件内修改成国内镜像:
google()
// jcenter()
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’}
在