且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

颤振没有运行?

更新时间:2023-02-02 20:05:10

过去几天出现了许多类似的问题,可以通过在repositories块的第一个位置添加google()存储库来解决.构建脚本. 请参阅以下答案中的详细说明:

There were lots of similar issues raised the past days, that could be solved by adding the google() repository in first position in the repositories block of the build scripts. See detailed explanation in the following answers:

  • couldn't locate lint-gradle-api-26.1.2.jar for flutter project
  • Could not find play-services-basement.aar
  • https://***.com/a/52982816/6899896
  • Could not find com.android.tools.build:aapt2:3.2.0

与Jcenter中缺少库有关的根本原因在这里进行了详细说明: https://***.com/a/50885939/6899896

The root cause , related to missing libraries in Jcenter, is explained in detail here : https://***.com/a/50885939/6899896