title: Error inflating anything from the design support library
body: <p>I am trying to implement floating labels in edit text which requires <strong>com.android.support:design: 23.0.1</strong> but the design support library is not getting compiled.            </p>
  
  <p>Here is my build.gradle for app and project. Please point out mistakes or give suggestions.</p>
  
  <p><strong>build.gradle</strong></p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 22
      buildToolsVersion "22.0.1"
  
      defaultConfig {
          applicationId "com.searchable"
          minSdkVersion 14
          targetSdkVersion 22
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile 'com.android.support:appcompat-v7:22.1.1'
      compile 'com.android.support:design:22.2.0'
  }
  </code></pre>
  
  <p><strong>PROJECT build.gradle</strong></p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.2.3'
  
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  </code></pre>
  
  <p><strong>ERROR</strong></p>
  
  <blockquote>
    <p>Error:(24, 13) Failed to resolve: com.android.support:design:22.2.0</p>
  </blockquote>
  
  <p>I also tried downloading the jar file and including it as a library. 
  The compilation in this case does not pose any problem but the XML file returns the following error during build. </p>
  
  <p><strong>XMl</strong></p>
  
  <pre><code> &lt;android.support.design.widget.TextInputLayout
  
      android:id="@+id/input_layout_password"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"&gt;
  
  
      &lt;EditText
          android:id="@+id/input_password"
          android:inputType="textPassword"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:hint="password" /&gt;
  
  &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p><strong>ERROR</strong></p>
  
  <blockquote>
    <p>The following class cannot be instantiated
         -android.support.design.TextInputLayout(Open Class, Show Exception, Clear Cache)</p>
  </blockquote>
  
  <p>When I click on Open Class link the jar decompiler shows the class source code, so I am assuming that thee is no problem in including the library.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I found out that there is a <strong><em>problem in including any dependency</em></strong> in Gradle and it returns the same compilation error <strong><em>irrespective of the library included</em></strong>.</p>