Reputation: 757
Just now I updated my android studio from build 130.737825 to build 130.878379. When I create a project for the first time, I am getting following error.
Gradle: A problem occurred configuring project ':MyApplicationadfaldf'.
> Failed to notify project evaluation listener.
> Could not resolve all dependencies for configuration ':MyApplicationadfaldf:_DebugCompile'.
> Could not find any version that matches com.android.support:appcompat-v7:+.
Required by:
MyApplicationadfaldfProject:MyApplicationadfaldf:unspecified
What is the reason?
Upvotes: 1
Views: 6516
Reputation: 2959
Same issue in my project was fixed with this:
In Android Studio:
-> Go to File menu -> Settings -> Gradle ->
Now in Gradle Settings just check Use Auto-Import Now update Maven will be updated in Android Studio and this error should be gone.
Upvotes: 1
Reputation: 461
http://tools.android.com/knownissues#TOC-Bundled-Maven-Repository
you need to install "android support repository"
Upvotes: 0
Reputation: 757
For others, who may be facing the same problem, Go to Tools-> Android-> SDK Manager, and update all repositories. Now, everything will work properly.
Upvotes: 5