title: Cannot resolve symbol AppCompatActivity - Support v7 libraries aren't recognized?
body: <p>I'm trying to figure out why the heck my Android studio isn't recognizing the AppCompat v7 library correctly. The import statement below shows up as gray and says there's no package for support.v7.app. Below is my activity file:</p>
  
  <pre><code>import android.support.v7.app.AppCompatActivity;
  
  
  public class XApplicationActivity extends AppCompatActivity
  </code></pre>
  
  <p>My build.grade:</p>
  
  <pre><code>compile "com.android.support:appcompat-v7:22.0.0"
  compile "com.android.support:support-annotations:$ANDROID_SUPPORT_VERSION"
  compile "com.android.support:support-v4:$ANDROID_SUPPORT_VERSION"
  </code></pre>
  
  <p>My project settings:</p>
  
  <pre><code>minSdkVersion = 14
  targetSdkVersion = 21
  compileSdkVersion = 21
  buildToolsVersion = "22.0.1"
  </code></pre>
  
  <p>So I'm really confused as to why this is still giving me issues. Things I've tried already:</p>
  
  <ul>
  <li>Cleaning/rebuilding the project</li>
  <li>Invalidating caches and restarting</li>
  <li>Checking a billion times to make sure I have the support library installed (I absolutely do have the latest support repository and libraries installed)</li>
  </ul>
  
  <p>Anybody know of any fixes? It's cost me a lot of time and it's really frustrating.</p>