5

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?

Amit Desale
  • 1,281
  • 3
  • 16
  • 43

3 Answers3

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