Reputation: 277
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:
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
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.
Also, try re-building the gradle & restarting the Android Studio!
Upvotes: 1