由于代理导致的错误导致我无法运行Flutter项目,导致该项目无法运行和安装依赖项,因此我尝试了Internet上的所有内容,但没有尝试。所以我决定install gradle plugin offline。然后我得到这个错误
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'android'.
Could not resolve all artifacts for configuration ':classpath'.
Could not find com.android.tools.build:builder:3.5.0. Searched in the following locations:
file:/C:/Users/.../android-gradle-plugin-3.5.0-beta01/com/android/tools/build/builder/3.5.0/builder-3.5.0.pom -
file:/C:/Users/.../android-gradle-plugin-3.5.0-beta01/com/android/tools/build/builder/3.5.0/builder-3.5.0.jar -
file:/C:/Users/.../gmaven_stable/com/android/tools/build/builder/3.5.0/builder-3.5.0.pom -
file:/C:/Users/.../gmaven_stable/com/android/tools/build/builder/3.5.0/builder-3.5.0.jar
问题是在我的情况下,文件夹/3.5.0/被称为/3.5.0-beta01/如果我重命名该文件夹,我会得到更严重的错误 文件也在那里,但每个人的名字旁边都有一个额外的“ beta01”