Error:(17, 0) SDK location not found
<p>So I got this error when trying to run Gradle in Android Studio. Except the problem is that the <code>local.properties</code> file already exists and contains the correct data. Also I have other projects on my computer with the exact same <code>local.properties</code> content and they work fine. I am getting this error for a sample that I download off Github. <a href="https://github.com/futuresimple/android-floating-action-button" rel="nofollow">Here is the link to the sample</a>.</p>

<p>Full Error:</p>

<blockquote>
  <p>Error:(17, 0) SDK location not found. Define location with sdk.dir in
  the local.properties file or with an ANDROID_HOME environment
  variable. Open
  File</p>
</blockquote>

<p>To run the sample I just go to Android Studio: File > New > Import Project</p>