Adnan Salahuddin
Lurker
Hi folks,
Add this dependency in build.gradle file. I am getting error message and it says:
What does that mean?
How do fix it?
I am waiting for your response
Thanks in advance!
JavaScript:
dependencies {
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
}
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
How do fix it?
I am waiting for your response
Thanks in advance!
Last edited by a moderator:
I added code tags to your post to make it more readable for the folks that can help. Good luck getting it sorted.