Android Studio报错:all packages are not available for download package id sources android-26

All packages are not available for download! The following packages are not available: - Package id

  • 原本build.gradle配置
android {
    compileSdkVersion 26
 
    defaultConfig {
        applicationId "com.zlc.tecsun.fastec"
        minSdkVersion 19
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }

}

  • 解决方法
image.png
image.png

你可能感兴趣的:(Android Studio报错:all packages are not available for download package id sources android-26)