Import new Android Design Support library

ouya picture ouya · May 30, 2015 · Viewed 42.4k times · Source

Hi i'am trying to import the new android support library like this com.android.support:support-design:22.0.0 but i got this error after sync the gradle : failed to find

Answer

Gabriele Mariotti picture Gabriele Mariotti · May 30, 2015

You have to update your Android Support Repository in SDK Manager, then just add this dependency to your build.gradle:

compile 'com.android.support:design:22.2.0'

com.android.support:support-design:22.0.0 is wrong.