title: For Http and Name Value Pair depricated issues i have downgraded from sdk compile version23 to sdk 21 and i was having an error
body: <p>I was new to android development anyone help we with this error</p>
  
  <p>When i have changed my compile version and build tool version i have solved with depreciated issue and got an error message and build was failed.</p>
  
  <p>Error message i have got is:-</p>
  
  <blockquote>
    <p>C:\Users\Muralivss\AndroidStudioProjects\Imagetest\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_ab_share_pack_holo_dark.9.png:
    libpng warning: iCCP: Not recognizing known sRGB profile that has been
    edited
        C:\Users\Muralivss\AndroidStudioProjects\Imagetest\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-xhdpi\abc_ab_share_pack_holo_dark.9.png:
    libpng warning: iCCP: Not recognizing known sRGB profile that has been
    edited
        C:\Users\Muralivss\AndroidStudioProjects\Imagetest\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_spinner_mtrl_am_alpha.9.png:
    libpng warning: iCCP: Not recognizing known sRGB profile that has been
    edited
        C:\Users\Muralivss\AndroidStudioProjects\Imagetest\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-xhdpi\abc_ab_share_pack_holo_light.9.png:
    libpng warning: iCCP: Not recognizing known sRGB profile that has been
    edited
        C:\Users\Muralivss\AndroidStudioProjects\Imagetest\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-mdpi\abc_ab_share_pack_holo_dark.9.png:
    libpng warning: iCCP: Not recognizing known sRGB profile that has been
    edited
        C:\Users\Muralivss\AndroidStudioProjects\Imagetest\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_ab_share_pack_holo_light.9.png:
    libpng warning: iCCP: Not recognizing known sRGB profile that has been
    edited
        :app:processDebugManifest UP-TO-DATE
        :app:processDebugResources
        C:\Users\Muralivss\AndroidStudioProjects\Imagetest\app\src\main\res\values\styles.xml
        Error:(13, 21) No resource found that matches the given name: attr 'windowNoTitle'.
        C:\Users\Muralivss\AndroidStudioProjects\Imagetest\app\src\main\res\values-v21\styles.xml
        Error:(5, 21) No resource found that matches the given name: attr 'windowNoTitle'.
        Error:Execution failed for task ':app:processDebugResources'.</p>
    
    <blockquote>
      <p>com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command
      'C:\Users\Muralivss\AppData\Local\Android\sdk\build-tools\21.1.2\aapt.exe''
      finished with non-zero exit value 1
          Information:BUILD FAILED</p>
    </blockquote>
  </blockquote>
  
  <p>This is my gradle page:-</p>
  
  <pre><code>apply plugin: 'com.android.application'
  android {
  compileSdkVersion 21
  buildToolsVersion '21.1.2'
  
  defaultConfig {
      applicationId "com.example.muralivss.imagetest"
      minSdkVersion 17
      targetSdkVersion 21
      versionCode 1
      versionName "1.0"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  }
  
  dependencies{
  
  compile fileTree(dir: 'libs', include: ['*.jar'])
  testCompile 'junit:junit:4.12'
  compile 'com.android.support:appcompat-v7:21.0.3'
  compile 'com.android.support:recyclerview-v7:21.0.3'
  //compile 'com.android.support:appcompat-v7:22.0.0'
  //compile 'com.android.support:design:23.1.1
  //compile 'com.android.support:recyclerview-v7:22.0.0'
  
  }
  </code></pre>
  
  <p>This is my styles.xml file:-</p>
  
  <p></p>
  
  <pre><code>&lt;!-- Base application theme. --&gt;
  &lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;!-- Customize your theme here. --&gt;
      &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/colorPrimaryDark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/colorAccent&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="AppTheme.NoActionBar"&gt;
      &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
      &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /&gt;
  
  &lt;style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" /&gt;
  </code></pre>
  
  <p></p>