title: Android Studio Gradle on Server
body: <p>I have installed Android Studio and gradle as required but while creating a new project I get this error</p>
  
  <pre><code>com.intellij.openapi.options.ConfigurationException: Failed to import new Gradle project: Could not fetch model of type 'IdeaProject' using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
  Unable to start the daemon process.
  This problem might be caused by incorrect configuration of the daemon.
  For example, an unrecognized jvm option is used.
  Please refer to the user guide chapter on the daemon at http://gradle.org/docs/1.6/userguide/gradle_daemon.html
  Please read below process output to find out more:
  -----------------------
  java.lang.IllegalArgumentException: URI has an authority component
      at java.io.File.&lt;init&gt;(File.java:397)
      at org.gradle.api.internal.classpath.EffectiveClassPath.findAvailableClasspathFiles(EffectiveClassPath.java:41)
      at org.gradle.api.internal.classpath.EffectiveClassPath.&lt;init&gt;(EffectiveClassPath.java:32)
      at org.gradle.api.internal.classpath.DefaultModuleRegistry.&lt;init&gt;(DefaultModuleRegistry.java:61)
      at org.gradle.api.internal.classpath.DefaultModuleRegistry.&lt;init&gt;(DefaultModuleRegistry.java:55)
      at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:41)
      at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
      at org.gradle.launcher.daemon.bootstrap.GradleDaemon.main(GradleDaemon.java:22)
  </code></pre>
  
  <p>After lots of searching I think it is due to the fact that the .gradle folder is on a common server. "\ServerName\UserProfiles\naveen\.gradle" and AndroidStudio is not able to access it.
  I also tried to change the path in Configure->Settings->gradle->ServiceDirectoryPath but it wont let me change that.
  None of the problems on SO related to Android studio have any relation to what I have here. </p>
  
  <p>So is there some way to change the path or maybe edit some file in AndroidStudio from which I can change Gradle Path and make it static. 
  I don't want to unlink my computer from server or anything like that.</p>