title: Cannot resolve symbol 'support' (using Android Studio, following getting started guide)
body: <p>I am getting started with Android development.
  I have followed this <a href="http://developer.android.com/training/basics/firstapp/starting-activity.html#CreateActivity">Getting Started</a> guide and use <strong>Android Studio</strong> (not eclipse).</p>
  
  <p>I ran Hello World on my device, so far so good.  But..</p>
  
  <p>Problem starts when adding this import: (as instructed by the guide)</p>
  
  <pre><code>import android.support.v4.app.NavUtils;  // cannot resolve symbol 'support'
  </code></pre>
  
  <p>Seems its needed by this line (commenting it and auto-resolving the import didnt work)</p>
  
  <pre><code>NavUtils.navigateUpFromSameTask(this);
  </code></pre>
  
  <p>The support import is red underlined, mouseover tells me <code>Cannot resolve symbol 'support'</code></p>
  
  <p>Build wont work either ofcourse. I have seen answers to similar questions such as; 
  suggesting clearing cache and retarting (tried that),
  suggesting running SDK Manager as Administrator and updating (tried that),
  and some other problems/solutions that seem eclipse specific.</p>
  
  <p>I am new to Android development and the IDE. How about fixing this in Android Studio v0.2.9 ?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Contents of my build.gradle file</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.5.+'
      }
  }
  apply plugin: 'android'
  
  repositories {
      mavenCentral()
  }
  
  android {
      compileSdkVersion 17
      buildToolsVersion "17.0.0"
  
      defaultConfig {
          minSdkVersion 7
          targetSdkVersion 16
      }
  }
  
  dependencies {
  
      // You must install or update the Support Repository through the SDK manager to use this dependency.
      // The Support Repository (separate from the corresponding library) can be found in the Extras category.
      // compile 'com.android.support:appcompat-v7:18.0.0'
  }
  </code></pre>