WayWay WayWay - 1 year ago 121
Android Question

Android Studio Gradle cannot find 'com.android.support:design:22.2.0' (the Android Design Support Library)

This issue has been incredibly frustrating for me for the past two weeks.

Using the Android SDK Manager, I updated the following:


Android SDK Tools rev. 24.3.3
Android SDK Platform-tools rev. 22
Android SDK Build-tools rev. 22.0.1

Android 5.1.1 (API 22):

SDK Platform rev. 2
Google APIs rev. 1
Sources for Android SDK rev. 1


Android Support Repository rev. 16
Android Support Library rev. 22.2.1
Google Repository rev.22

This is the exact list of all the repositories that I've installed and updated to with the Android SDK Manager.

However, when I attempt to add the line:

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

Gradle becomes stuck on addDependecies. Furthermore, when I go to Module Settings, and then to Dependencies, when I try to add a new library, the 'com.android.support:design:22.2.0' does not appear within the list!

Here's additional information about my target, compile, and minimum SDK version:

android {
compileSdkVersion 22
buildToolsVersion '22.0.1'
defaultConfig {
applicationId "com.myandroidapplication.newtestapp"
minSdkVersion 14
targetSdkVersion 22
versionCode 1
versionName "1.0"
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
productFlavors {

What could I possibly be missing at this point? Thank you!

Answer Source

You have to use version 22.2.1 as it has installed on your computer.

compile 'com.android.support:design:22.2.1'
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download