title: How to downgrade project from sdk 23 to sdk 22 in Android studio 1.4
body: <p>Previously I used android studio 1.3 but I got some message about new version of android studio a couple of times. So I decided to update the android studio to new version 1.4. After updating it, I got these error for my gradle file:</p>
  
  <pre><code>D:\..\hamrahsalamat-payesh\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.0.0\res\values-v23\values-v23.xml
  Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
  Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
  Error:Execution failed for task ':app:processDebugResources'.
  &gt; com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command
  'C:\Users\..\AppData\Local\Android\sdk\build-tools\22.0.1\aapt.exe'' finished with non-zero exit value 1
  </code></pre>
  
  <p>And this is my gradle file</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
  compileSdkVersion 22
  buildToolsVersion "22.0.1"
  
  defaultConfig {
      applicationId "com.mhealth.healthnotation"
      minSdkVersion 16
      targetSdkVersion 22
      versionCode 2
      versionName "1.0.0.1"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  }
  
  dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])
  compile 'com.android.support:appcompat-v7:22.2.0'
  compile 'com.android.support:recyclerview-v7:22.2.0'
  }
  </code></pre>
  
  <p>After some search I found out android studio uses sdk 23 by default from version 1.4. <strong>however I don't want to use sdk 23 because I have some deprecated methods and at this time I don't have enough time to replace and fix them.</strong> So how could I make it to use sdk 22?</p>
  
  <p>I saw in some post that I could delete <code>23.0.1</code> and <code>23.0.0</code> folders from <code>C:\Users\..\AppData\Local\Android\sdk\extras\android\m2repository\com\android\support\appcompat-v7</code>and <code>C:\Users\..\AppData\Local\Android\sdk\extras\android\m2repository\com\android\support\recyclerview-v7</code> and delete also from <code>maven-metadata.xml</code> file, but it didn't work for me. </p>