美文网首页
API27出现Failed to resolve:com.and

API27出现Failed to resolve:com.and

作者: theady2 | 来源:发表于2018-11-03 15:08 被阅读0次

问题:API27出现Failed to resolve:com.android.support:appcompat-v7:27.+
解决方案:在对应的build.gradle中的buildTypes{}中加入以下repositories代码:

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        repositories {
            maven {
                url "https://maven.google.com"
            }
        }
    }

相关文章

网友评论

      本文标题:API27出现Failed to resolve:com.and

      本文链接:https://www.haomeiwen.com/subject/eomkxqtx.html