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 solution .
classpath 'com.android.tools.build:gradle:1.2.2' in gradle.properties
But on applying it I get the below error :
Error:Unknown host 'jcenter.bintray.com'. You may need to adjust the proxy settings in Gradle.
<a href="toggle.offline.mode">Enable Gradle 'offline mode' and sync project</a><br><a href="https://docs.gradle.org/current/userguide/userguide_single.html#sec:accessing_the_web_via_a_proxy">Learn about configuring HTTP proxies in Gradle</a>
I added below proxy configuration inside the gradle.properties
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
But then I get this error:
Error:Cause: peer not authenticated
and then I read this post, which says the Gradle version has to be correct in the build.gradle.
classpath 'com.android.tools.build:gradle:1.2.2'
Now I am in a deadLock! Does Android not support .pdn or .pptx in drawable?