Bishnu Dudhraj
Bishnu Dudhraj

Reputation: 277

Error: Fail to resolve : com.android.support:appcompat-v7:23.2.1

I want to add the carousel view in my first android app but I am getting this error.

When I add a dependency to the support library in the build.gradle like this:

enter image description here

After installing repository and SDK , it again shows error.

How can I add repository without upgrading Android Studio. I am using Android studio 1.5.1

Is there any other method for sliding pictures like carouselview?

Upvotes: 1

Views: 2007

Answers (1)

Prokash Sarkar
Prokash Sarkar

Reputation: 11873

That's because you may have installed the incorrect support repository. To do this, open your SDK manager and install the correct one.

enter image description here

Also, try re-building the gradle & restarting the Android Studio!

Upvotes: 1

Related Questions