title: Android Studio: Gradle Build error, can't locate SDK and compile-server
body: <p>I am new user of Android Studio and I have serious problem with trying to import Android Studio project to Android Studio on other PC. In general, my Gradle doesn't want to build the project and it is caused by problem with path.</p>
  
  <p>Error log:</p>
  
  <pre><code>Failed to import Gradle project: Could not fetch model of type 'IdeaProject' using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
  Build file 'E:\Projects\MenuMenu\EventGame\build.gradle' line: 1
  A problem occurred evaluating project ':EventGame'.
  A problem occurred evaluating project ':EventGame'.
  The SDK directory 'E:\Program Files (x86)\Android\android-studio\bin' does not exist
  </code></pre>
  
  <p>My Android-Studio SDK is in directory:</p>
  
  <pre><code>E:\Program Files (x86)\Android\android-studio\sdk
  </code></pre>
  
  <p>I found from various posts with similar problems that you can change path to sdk in local.properties file. Mine looks currently like that:</p>
  
  <pre><code>sdk.dir=
  </code></pre>
  
  <p>So it's empty, but still default path is SOMEHOW set to "E:\Program Files (x86)\Android\android-studio\bin" and I have no idea how to change it. If i try to add to sdk.dir real path the error is the same but the path in error looks like that.</p>
  
  <pre><code>The SDK directory 'E:\Program Files (x86)\Android\android-studio\bin"E:\Program Files (x86)\Android\android-studio\sdk"' does not exist
  </code></pre>
  
  <p>In 90% of causes I could find via the net people were solving the problem by adding: sdk.dir=/Applications/Android Studio.app/sdk</p>
  
  <p>But then directory is set to E:\Program Files (x86)\Android\android-studio\bin\Applications\Android Studio.app\sdk and something like that doesn't exist in my PC. </p>
  
  <p>Do you have any idea how to solve this problem. Is there any way to change this default path? I also get error:</p>
  
  <pre><code>E:\Projects\MenuMenu\EventGame\build.gradle
  Gradle: A problem occurred evaluating project ':EventGame'.
  &gt; The SDK directory 'E:\Program Files (x86)\Android\android-studio\system\compile-server' does  not exist.
  </code></pre>
  
  <p>Thats how my folders looks like:
  <a href="https://www.dropbox.com/s/ikj63gmyfax8z4u/folders.png" rel="noreferrer">https://www.dropbox.com/s/ikj63gmyfax8z4u/folders.png</a></p>