title: Problems with Android Studio - "Please specify Android SDK"
body: <p>I've just updated to the newest version of Android Studio, and started a fresh, empty project. After finishing the wizard, I opened the main <code>Activity.java</code> file, and there was a message that said:</p>
  <blockquote>
  <p><code>Gradle project sync failed. Basic functionality will not work properly</code></p>
  </blockquote>
  <p>I found that I should try the button <em>Sync Project with Gradle Files</em>. This produces another error:</p>
  <blockquote>
  <p>Failed to refresh Gradle project. Could not find any version that matches com.android.support:appcompat-v7:+</p>
  <p>Please install the Android Support Repository from the Android SDK Manager</p>
  </blockquote>
  <p>I tried to open the Android SDK manager and got <em>another</em> error:</p>
  <blockquote>
  <p><code>Please specify Android SDK</code></p>
  </blockquote>
  <p>So I went into my Project Structure, which has two sections, 'app' and 'Android SDK'. Android SDK points correctly to the Android SDK directory, and app is blank.</p>
  <p><img src="https://i.stack.imgur.com/GX2UR.png" alt="enter image description here" /></p>
  <p><img src="https://i.stack.imgur.com/8fgMi.png" alt="enter image description here" /></p>
  <p>What should I do?</p>
  <p>I tried downloading the <a href="http://developer.android.com/sdk/index.html#download" rel="nofollow noreferrer">latest SDK bundle</a> and pointing to that in the Project Structure instead, but that hasn't fixed the problem.</p>