I have read the article All com.android.support libraries must use the exact same version specification
But I still get the following information after I add the c
For now, just include noninspection
to suppresses the warning
//noinspection GradleCompatible
implementation 'com.google.android.gms:play-services-ads:17.0.0'
//noinspection GradleCompatible
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
Everything will work fine.
Some or one of your libraries use an old version of customtabs
internally, that's why this warning message is showing. If you implement this with the latest version then the warning will be gone.
implementation 'com.android.support:customtabs:28.0.0'
After adding this I have also shown the same error for another older version of dependencies. After adding this also all warning is gone.
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:support-media-compat:28.0.0'
Hope this will help you to solve your problem.
Also you can check this: https://stackoverflow.com/a/42374426/5167909
I think that play-services-ads:17.0.0
include appcompat 26.1.0. Try to exclude it:
implementation ("com.google.android.gms:play-services-ads:17.0.0") {
exclude group: "com.android.support"
}