title: Support Annotation does not exist after upgrading to Android Studio 3.0
body: <p>After I upgrade my project to AndroidStudio 3.0-beta1, my <code>androidTest</code> files stopped compiling.</p>
  
  <p>A lot of packages are not found, some of them are:</p>
  
  <blockquote>
    <p>error: package android.support.annotation does not exist<br>
    error: cannot find symbol class StringRes<br>
    error: cannot access AppCompatActivity<br>
    class file for android.support.v7.app.AppCompatActivity not found</p>
  </blockquote>
  
  <p>I already added</p>
  
  <pre><code>androidTestCompile "com.android.support:support-annotations:25.3.1"
  </code></pre>
  
  <p>into <em>build.gradle</em></p>
  
  <p>But even with this, I have the errors of package not found. I tried running the tests from inside Android Studio and from terminal with <code>./gradlew connectedCheck</code></p>