Search code examples
androidandroid-support-libraryandroid-developer-api

Failed to find:com.android.support:design:22.2.0


I used support design library in my project,but there is a error that it is not found.My android Studio has updated Android Support Library 22.2

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

this is my first time use of support design library.can somebody help me?


Solution

  • You need to update the android support Repository in the SDK manager . Also the Design Library depends on the Support v4 and AppCompat Support Libraries.

    Reference: http://android-developers.blogspot.in/2015/05/android-design-support-library.html