相关疑难解决方法(0)

Android Studio 中的 Gradle 错误:找不到“com.android.tools.build:gradle:7.1.1”。

我正在尝试将项目从 Eclipse 导入到 Android Studio 中。\n在 Eclipse 中,我将其导出到 gradle,然后将其导入到 Android Studio 中。\n注意:我是 gradle 新手,对问题没有洞察力。\n现在我收到此错误:

\n
> Configure project :\n    Running gradle version: 6.8\n\nFAILURE: Build failed with an exception.\n\n* What went wrong:\nA problem occurred configuring root project \'aBooks\'.\n > Could not resolve all artifacts for configuration \':classpath\'.\n > Could not find com.android.tools.build:gradle:7.1.1.\n Searched in the following locations:\n   - \nhttps://repo.maven.apache.org/maven2/com/android/tools/build/gradle/7.1.1/gradle-7.1.1.pom\n If the artifact you are trying to retrieve can be found in the repository but without metadata in \'Maven POM\' format, you …
Run Code Online (Sandbox Code Playgroud)

android gradle android-studio

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

android ×1

android-studio ×1

gradle ×1