title: ERROR: Failed to resolve: com.android.support:appcompat-v7:25.1.0
body: <p>When I got an Android project from Github and run it on my Android studio, I got an error</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 25
      buildToolsVersion "25.0.2"
      defaultConfig {
          applicationId "com.kodingindonesia.mycrud"
          minSdkVersion 15
          targetSdkVersion 25
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
          exclude group: 'com.android.support', module: 'support-annotations'
      })
      compile 'com.android.support:appcompat-v7:25.1.0'
      testCompile 'junit:junit:4.12'
  }
  </code></pre>
  
  <p>from this error I can't even run the apk to test and build it, so what is the right solution for such problems?</p>
  
  <pre><code>ERROR: Failed to resolve: com.android.support.test.espresso:espresso-core:2.2.2
  Add Google Maven repository and sync project
  Show in Project Structure dialog
  Affected Modules: app
  
  
  ERROR: Failed to resolve: com.android.support:appcompat-v7:25.1.0
  Add Google Maven repository and sync project
  Show in Project Structure dialog
  Affected Modules: app
  </code></pre>
  
  <p>I hope that I can still run and edit projects that I can find,
  I use Android Studio 3.4.1</p>