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,122 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
- 73,189
- 14
- 161
- 193
2
If you are using Android Studio, make sure you downloaded the support repository using SDK Manager
Mathieu de Brito
- 2,326
- 2
- 23
- 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
- 250,295
- 77
- 670
- 690
fab
- 790
- 6
- 10