Recently I updated my android SDK tools and I started getting this error Failed to resolve: com.android.support:cardview-v7:26.0.0 android Solution to this or any other similar error is to add maven end point in your build.gradle file allprojects { repositories { jcenter() maven { url 'https://maven.google.com' } } }
I document random stuff on this Blog. It can be a piece of code , my personal experience, a fun fact or anything else.