Welcome to the Treehouse Community
Looking to learn something new?
Error creating the app!
Hello, I have this error on my gradle build, help me please
Error:Execution failed for task ':app:preDebugAndroidTestBuild'.
Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (26.1.0) and test app (27.1.1) differ. See https://d.android.com/r/tools/test-apk-dependency-conflicts.html for details.
Quaide SimekCourses Plus Student 233 Points
The best solution I found for this problem was to update the compileSDKVersion to '27', and update any support dependencies in your gradle to
There is an inconsistency between your testImplementation declarations and your implementation declarations. Updating the SDKVersion as well as your support declarations resolves it.