首页 > 解决方案 > Android Studio - 即使在尝试了我在其他帖子中读到的所有其他具有相同问题的帖子之后,标记不匹配错误

问题描述

    A problem occurred configuring root project 'My Application'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not download protos-27.1.1.jar (com.android.tools.analytics-library:protos:27.1.1)
      > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/27.1.1/protos-27.1.1.jar'.
         > Tag mismatch!
   > Could not download kotlin-compiler-embeddable-1.3.72.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.72)
      > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.72/kotlin-compiler-embeddable-1.3.72.jar'.
         > Tag mismatch!

您好,我一直在尝试使 android studio 工作,但我不断收到错误:(现在我有这个(我刚刚创建了项目),每次都会发生。我尝试手动安装 graddle,卸载 android studio ,切换离线模式,导致此错误:

A problem occurred configuring root project 'My Application'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not download protos-27.1.1.jar (com.android.tools.analytics-library:protos:27.1.1): No cached version available for offline mode
   > Could not download kotlin-compiler-embeddable-1.3.72.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.72): No cached version available for offline mode

Possible solution:
 - Disable offline mode and rerun the build

以及我在其他帖子中从有类似问题的人那里读到的几乎所有其他内容。我可以做些什么来让 android studio 为我工作吗?:(

感谢您阅读本文。

标签: androidkotlin

解决方案


推荐阅读