I am having this issue in Android studio.
Error:(22, 13) Failed to resolve: com.android.support:appcompat-v7:26.0.0 Install
Add this in build.gradle(Project:projectname)
allprojects { repositories { jcenter() maven { url "https://maven.google.com" } } }
Add this in build.gradle(Module:app)
dependencies { compile 'com.android.support:appcompat-v7:26.1.0' }