I am having this issue in Android studio.
Error:(22, 13) Failed to resolve: com.android.support:appcompat-v7:26.0.0 Install
If you are using Android Studio 3.0, add the Google maven repository as shown below:
allprojects { repositories { jcenter() google() } }