如何修复“错误:无法解决:com.android.support:support-v4:28.0.0”

时间:2019-08-17 11:39:37

标签: android android-studio

ERROR: Failed to resolve: com.android.support:support-v4:28.0.0
        Add Google Maven repository and sync project
        Show in Project Structure dialog
        Affected Modules: app

1 个答案:

答案 0 :(得分:0)

确保您已提供存储库:

build.gradle(Project):

allprojects {
  repositories {
      jcenter()
      maven {
          url "https://maven.google.com"
      }
  }
}