title: Gradle build errors after updating Android Studio
body: <p>I just updated Android Studio, and now when I try to build my app, I get the following Gradle error:</p>
  
  <blockquote>
  <pre><code>Information: Compilation completed with 2 errors and 0 warnings in 28 sec
  Information: 2 errors
  Information: 0 warnings
  Error: Gradle: : java.lang.NullPointerException
  /Users/mhuggins/Sites/SmoothieFlow/build.gradle
      Error:(9, 0) Gradle: A problem occurred evaluating root project 'SmoothieFlow'.
                   &gt; The SDK directory '/Users/mhuggins/Library/Caches/AndroidStudioPreview/compile-server/"/Applications/Android Studio.app/sdk"' does not exist.
  </code></pre>
  </blockquote>
  
  <p>Details about Android Studio version:</p>
  
  <blockquote>
    <p>Android Studio (I/O Preview) AI-130.709792</p>
    
    <p>Build #AI-130.709792, built on June 14, 2013</p>
    
    <p>JDK 1.6.0_43</p>
    
    <p>VM: Java HotSpot(TM) 64-Bit Server VM by Apple Inc.</p>
  </blockquote>
  
  <p>Does anyone know why I'm getting this and what I can do to fix it?</p>