title: SDK Location not found
body: <p>I created recently a new local repo and pulled some code to it, from our remote repository.</p>
  
  <p>When i open the project, I receive a message in console:</p>
  
  <pre><code>Gradle sync failed: SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
       Consult IDE log for more details
  </code></pre>
  
  <p>I followed the instructions <a href="https://stackoverflow.com/questions/28296237/set-android-home-environment-variable-in-mac">here</a> to set the environment variable (Im in a Mac) and checked my local.properties:</p>
  
  <pre><code>sdk.dir=/Users/admin/Library/Android/sdk
  </code></pre>
  
  <p>So, both things are settled up, and I am still getting this error. Ive searched, but no solution worked for me.</p>
  
  <p>Any help? Thank you.</p>
  
  <p>EDIT:</p>
  
  <p>This only happens with one project. The rest of the projects works perfectly.</p>