之前写过flutter配置以及demo 过了几个月回头看的时候,重新运行发现 运行很久还报错了,

奥对了,如果很长时间没使用建议先更新下

flutter upgrade  回车即可,如果多的话更新需要时间可能久一些,然后flutter doctor 查看下是否正常,

然后在使用,

这个错误的原因是忘记配置阿里镜像了 在

build.gradle 中

Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details

 添加 别忘记⑧google() 和 jcenter 注释掉 完成之后在运行就好了。

Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details

相关文章:

  • 2021-12-14
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
猜你喜欢
  • 2021-11-06
  • 2021-06-03
  • 2021-09-17
  • 2021-04-14
  • 2021-05-31
  • 2022-01-10
相关资源
相似解决方案