title: AppCompat library 23.2.1 not working with espresso v2.2.2
body: <p>I have an android project where I use espresso to define tests. It all worked well until now but after upgrading to AppCompat 23.2.1 (from AppCompat 23.0.1) the execution of the tests always crashes.</p>
  
  <p>My build.gradle dependencies:</p>
  
  <pre><code>dependencies {
  
  // Ok Config
  compile fileTree(dir: 'libs', include: ['*.jar'])
  testCompile 'junit:junit:4.12'
  compile 'com.android.support:appcompat-v7:23.2.1'
  compile 'com.android.support:design:23.2.1'
  compile 'com.android.support:support-annotations:23.2.1'
  
  androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
  androidTestCompile 'com.android.support.test:runner:0.5'
  androidTestCompile 'com.android.support:support-annotations:23.2.1'
  androidTestCompile 'com.android.support.test.espresso:espresso-intents:2.2.2'
  androidTestCompile 'com.android.support.test.espresso:espresso-contrib:2.2.2'
  </code></pre>
  
  <p>The project compiles and executes ok, but when I try to run a test it crashes with this error:</p>
  
  <pre><code>java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity
  </code></pre>
  
  <p>Despite the text of the error I am using a descendant theme of Theme.AppCompat, so I don't understand the error message at all.</p>
  
  <p>Anyone had the same problem? It seems to be any problem with the dependencies of appcompat and espresso, but I'm unable to find it and solve my problem.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks! </p>