This is all I have as my project's dependencies:
dependencies {
implementation "com.android.support:appcompat-v7:27.1.1"
implementation "com.android.support:support-v4:27.1.1"
api "com.android.support:mediarouter-v7:27.1.1"
api "com.google.android.gms:play-services-cast-framework:15.0.1"
implementation 'com.jakewharton.timber:timber:4.7.0'
}
And after trying to sync my android's gradle I get:
Failed to resolve: support-core-ui
I know that the support-core-ui is included inside support-v4 but I can't think of any solution, I'd be thankful if anyone had any idea about this
Add below support-core-ui to your dependencies and try again:
Just for your information now, parts of support-core-ui, support-core-utils, and support-compat into smaller libraries.
Check here: https://developer.android.com/topic/libraries/support-library/revisions
Placing the
google()
repo before thejcenter()
repo in the Project build.gradle fixed the issue.Based on: https://issuetracker.google.com/issues/80362794