• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Dependency Espression Problem

Hi folks,
JavaScript:
dependencies {
    androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
}
Add this dependency in build.gradle file. I am getting error message and it says:

Code:
Error:Execution failed for task ':app: processDebugAndroidTestManifest'.

> Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 8 declared in library [com.android.support.test.espresso:espresso-core:2.2.2] C:\Users\Adnan\AndroidStudioProjects\android-hello-world-master\app\build\intermediates\exploded-aar\com.android.support.test.espresso\espresso-core\2.2.2\AndroidManifest.xml
Suggestion: use tools: overrideLibrary="android.support.test.espresso" to force usage
What does that mean?
How do fix it?

I am waiting for your response
Thanks in advance!
 
Last edited by a moderator:
Welcome to Android Forums. :) I added code tags to your post to make it more readable for the folks that can help. Good luck getting it sorted.
 
Back
Top Bottom