diff --git a/android/build.gradle b/android/build.gradle index b9ce4990..f6ccb6eb 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -115,16 +115,11 @@ dependencies { androidTestCompile 'com.android.support.test:runner:0.4.1' androidTestCompile 'com.android.support.test:rules:0.4.1' - androidTestCompile ('com.android.support.test.espresso:espresso-core:2.2.1'){ - // http://stackoverflow.com/questions/30578243/why-would-adding-espresso-contrib-cause-an-inflateexception - exclude group: 'com.android.support', module: 'appcompat-v7' - exclude group: 'com.android.support', module: 'support-v4' - exclude module: 'recyclerview-v7' - } + androidTestCompile ('com.android.support.test.espresso:espresso-core:2.2.1') androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2.1') { // http://stackoverflow.com/questions/30578243/why-would-adding-espresso-contrib-cause-an-inflateexception - exclude group: 'com.android.support', module: 'appcompat-v7' + exclude group: 'com.android.support', module: 'appcompat' exclude group: 'com.android.support', module: 'support-v4' exclude module: 'recyclerview-v7' }