1
我是android studio的新手。我创建了Android工作室一个新的项目,当我要运行它,我得到这个错误:在android studio中创建新项目时出错
https://jcenter.bintray.com/com/android/support
: 令我惊讶的是,我打开这个链接Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
> Could not find com.android.support:appcompat-v7:21.+
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/appcompat-v7/21/appcompat-v7-21.pom
https://jcenter.bintray.com/com/android/support/appcompat-v7/21/appcompat-v7-21.jar
Required by:
myappname:app:unspecified
一件事
但这个链接是不正确的!
这个错误的原因是什么? 我已经安装了Android的支持库:
你能在你的build.gradle文件编辑? – hellyale
http://stackoverflow.com/questions/19621941/android-studio-could-not-find-any-version-that-matches-com-android-supportappco – hellyale
是的,我可以。但为什么?! –