Android Studio找不到与com.android.support:appcompat-v7:23.+匹配的任何版本. [英] Android Studio could not find any version that matches com.android.support:appcompat-v7:23.+

查看:194
本文介绍了Android Studio找不到与com.android.support:appcompat-v7:23.+匹配的任何版本.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android Studio的新功能.设置完所有内容后,我尝试运行一个基本项目,并不断收到此错误.我将我的appcompat版本更改为7.22.+,并且可以构建.谁能解释一下?我知道我应该下载该版本,但是从哪里下载?谢谢!

New to Android Studio. After setting everything up I tried to run a basic project and keep getting this error. I changed my appcompat version to 7.22.+ and it builds. Can anyone explain this? I know I'm supposed to download that version but from where? Thank you!

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

Error:A problem occurred configuring project ':app'.

无法解析配置':app:_debugCompile'的所有依赖项. 找不到与com.android.support:appcompat-v7:23.+匹配的任何版本. 不匹配的版本: 22.2.1 22.2.0 22.1.0 22.0.0 21.0.3 +另外7个 在以下位置搜索: https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml https://jcenter.bintray.com/com/android/support/appcompat- v7/ 文件:/Users/liyicky/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/maven-metadata.xml 文件:/Users/liyicky/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/maven-metadata.xml 文件:/Users/liyicky/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/ 要求者: RayWenderlichTutorial:app:unspecified

Could not resolve all dependencies for configuration ':app:_debugCompile'. Could not find any version that matches com.android.support:appcompat-v7:23.+. Versions that do not match: 22.2.1 22.2.0 22.1.0 22.0.0 21.0.3 + 7 more Searched in the following locations: https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml https://jcenter.bintray.com/com/android/support/appcompat-v7/ file:/Users/liyicky/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/maven-metadata.xml file:/Users/liyicky/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/maven-metadata.xml file:/Users/liyicky/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/ Required by: RayWenderlichTutorial:app:unspecified

推荐答案

我也一直在处理这个问题.似乎他们更新了Android Studio,以将appcompat v7:23用作默认值,即使尚未发布也是如此.

I've been dealing with this too. It looks like they updated Android Studio to use appcompat v7:23 as a default even though it hasn't been released yet.

这篇关于Android Studio找不到与com.android.support:appcompat-v7:23.+匹配的任何版本.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆