title: The file name must end with .xml or .png
body: <p>I am using Android Studio 1.5.1 and I am using some Paint.Net images (.pdn) and also some icons in .pptx format.
  I saw this <a href="https://stackoverflow.com/questions/30533861/android-using-svg-in-res-leads-to-error-the-file-name-must-end-with-xml-or">solution</a> .</p>
  
  <pre><code>classpath 'com.android.tools.build:gradle:1.2.2' in gradle.properties
  </code></pre>
  
  <p>But on applying it I get the below error : </p>
  
  <pre><code>Error:Unknown host 'jcenter.bintray.com'. You may need to adjust the proxy settings in Gradle.
  &lt;a href="toggle.offline.mode"&gt;Enable Gradle 'offline mode' and sync project&lt;/a&gt;&lt;br&gt;&lt;a href="https://docs.gradle.org/current/userguide/userguide_single.html#sec:accessing_the_web_via_a_proxy"&gt;Learn about configuring HTTP proxies in Gradle&lt;/a&gt;
  </code></pre>
  
  <p>I added below proxy configuration inside the gradle.properties</p>
  
  <pre><code>systemProp.http.proxyHost=proxy.host.com
  systemProp.http.proxyPort=portnum
  systemProp.http.proxyUser=userId
  systemProp.http.proxyPassword=passWord
  systemProp.http.auth.ntlm.domain=*.nonproxyrepos.com|localhost
  
  systemProp.https.proxyHost=proxy.host.com
  systemProp.https.proxyPort=portNum
  systemProp.https.proxyUser=userId
  systemProp.https.proxyPassword=passwoRd
  systemProp.https.nonProxyHosts=*.nonproxyrepos.com|localhost
  </code></pre>
  
  <p>But then I get this error: </p>
  
  <pre><code>Error:Cause: peer not authenticated
  </code></pre>
  
  <p>and then I read this <a href="https://stackoverflow.com/questions/26734738/android-studio-gradle-build-failed-errorcause-peer-not-authenticated">post</a>, which says the Gradle version has to be correct in the build.gradle.</p>
  
  <pre><code>classpath 'com.android.tools.build:gradle:1.2.2'
  </code></pre>
  
  <p>Now I am in a deadLock!
  Does Android not support .pdn or .pptx in drawable?</p>