I'm using Android Studio. I use floating action button so when i use it gives me error and tell me to update android support library v7 to 22.2.0 version. so when i update v7 support library to 22.2.0 version and make synchronization then it gives me error failed to find: com.android.support:appcompat-v7:22.2.0 version. How to resolved this error?
Asked
Active
Viewed 8,363 times
5
-
First of all, update your SDK Manager, then update your gradle files – Gabriele Mariotti Aug 05 '15 at 17:04
3 Answers
8
Just update your support library and support repository & your SDK Manager
,
Then
compile 'com.android.support:appcompat-v7:22.2.0'
Please check this SO Answer

Community
- 1
- 1

IntelliJ Amiya
- 74,896
- 15
- 165
- 198
2
If you are using Android Studio, make sure you downloaded the support repository using SDK Manager

Mathieu de Brito
- 2,536
- 2
- 26
- 30
0
Update your gradle
file with this section:
dependencies {
...
compile 'com.android.support:design:22.2.1'
compile 'com.android.support:recyclerview-v7:22.2.1'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.android.support:cardview-v7:22.2.1'
}

Gabriele Mariotti
- 320,139
- 94
- 887
- 841

fab
- 790
- 6
- 10