Android gradle插件的脱机安装问题
我无法运行Flatter项目,因为一个错误可能是由代理导致的,该代理阻止了项目运行和安装依赖项,我在internet上尝试了所有方法,什么都没有。所以我决定去。然后我得到了这个错误Android gradle插件的脱机安装问题,android,flutter,android-gradle-plugin,Android,Flutter,Android Gradle Plugin,我无法运行Flatter项目,因为一个错误可能是由代理导致的,该代理阻止了项目运行和安装依赖项,我在internet上尝试了所有方法,什么都没有。所以我决定去。然后我得到了这个错误 FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'android'. Could not resolve all artifa
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”