title: Android Studio can't find compatibility library styles
body: <p>I'm relying on the compatibility library to use action bars on older versions of Android. I've added it to my <code>build.gradle</code> file like this:</p>
  
  <pre><code>dependencies {
      compile 'com.android.support:appcompat-v7:+'
      compile 'com.android.support:support-v4:+'
  }
  </code></pre>
  
  <p>And an example of a <code>styles.xml</code> file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;!-- Base theme --&gt;
      &lt;style name="AppName" parent="@style/Theme.AppCompat.Light"&gt;&lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>The project builds successfully in Android Studio 0.4.4 both from the commandline and from the IDE. However, the following error appears when opening the file in the editor:</p>
  
  <p><img src="https://i.imgur.com/UkbGkBT.png" /></p>
  
  <p>I've tried invalidating the cache, cleaning the project, syncing with Gradle and reimporting the project after deleting the IntelliJ files, but nothing changes. I also get errors like this in the <code>build.gradle</code> file:</p>
  
  <p><img src="https://i.imgur.com/Dq7JXGJ.png" /></p>
  
  <p>But I don't know if that's related to this specific problem. How do I make Android Studio find the compatibility library resources?</p>