Search code examples
androidandroid-sdk-toolsandroid-developer-api

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


I want to use AppBarLayout and CoordinateLayout for my Android project so, I added compile 'com.android.support:design:26.0.1' to the gradle dependencies. But I'm getting an error all the time as Failed to find:com.android.support:design:26.0.1. and if I try choose the install repository and sync again option, nothing is happening.

I think my SDK is pretty much update!

How to get rid of it and be able to add the layouts ?


Solution

  • try this

    compile 'com.android.support:design:26.0.0-alpha1'