Haroon Lone
Haroon Lone

Reputation: 2949

Failed to resolve appcompat-v7:15.+ in Android studio 1.4

I have installed android studio 1.4 on MAC 10.10.3 successfully. Now when I try to for demo app. development I see two errors in the main IDE, both of them are marked with arrow in the below figureenter image description here

I clicked on the links (near the bottom arrow), it did some installations, but again errors were there. Now when I click on the links again it shows

enter image description here

Apart from this I followed other answers on stackoverflow, but with no success. Can anyone guess what can be the possible reason for both of these problems

Upvotes: 0

Views: 1122

Answers (3)

Aakash
Aakash

Reputation: 5251

Try this:

compile 'com.android.support:appcompat-v7:23.1.1'

You should use the latest AppCompat library.

Upvotes: 1

Abner
Abner

Reputation: 9

I also had the same problem, and after looking myself, I managed to resolve the error without accumulating any more errors by entering:

compile 'com.android.support:appcompat-v7:20.+'

My thinking is that it'll now just check for versions 7:20 and above. Hope that helps.

Upvotes: 1

Aspicas
Aspicas

Reputation: 4497

Try this:

Change dependencies on your build.gradle your Support library.

compile 'com.android.support:appcompat-v7:22.2.0'

Upvotes: 2

Related Questions