【问题标题】:Build Android HelloWorld fails: dependencies for configuration ':app:_debugCompile'构建 Android HelloWorld 失败:配置 ':app:_debugCompile' 的依赖项
【发布时间】:2016-01-24 20:16:34
【问题描述】:

我想构建我的第一个 android hello world 应用程序,但出现此错误,知道发生了什么吗?

错误:配置项目 ':app' 时出现问题。

无法解析配置“:app:_debugCompile”的所有依赖项。 找不到任何与 com.android.support:appcompat-v7:15.+ 匹配的版本。 不匹配的版本: 23.1.0 23.0.1 23.0.0 22.2.1 22.2.0 + 10 多个 在以下位置搜索: https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml https://jcenter.bintray.com/com/android/support/appcompat-v7/ 文件:/Users/kukodajanos/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/maven-metadata.xml 文件:/Users/kukodajanos/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/maven-metadata.xml 文件:/Users/kukodajanos/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/ 要求: HelloWorld:app:unspecified

【问题讨论】:

标签: android


【解决方案1】:
Could not resolve all dependencies for configuration ':app:_debugCompile'. Could not find any version that matches com.android.support:appcompat-v7:15.+. 

您正在请求一个非常旧版本的appcompat-v7 (15.+),它在您的开发机器上不可用。您还有其他几个版本 (23.1.0 23.0.1 23.0.0 22.2.1 22.2.0 + 10 more)。使用其中之一。

【讨论】:

    猜你喜欢
    • 2023-03-19
    • 2015-12-18
    • 1970-01-01
    • 2016-09-19
    • 2015-09-27
    • 1970-01-01
    • 2016-07-11
    • 1970-01-01
    • 2021-05-02
    相关资源
    最近更新 更多