Search code examples
androidmaterial-designandroid-support-libraryandroid-design-libraryandroid-support-design

Import new Android Design Support library


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


Solution

  • 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.