Plugin with id 'com.android.application' not found. Open File

Plugin with id ‘com.android.application’ not found. Open File

解决方法:
将下面的配置拷贝到build.gradle里面

buildscript {
    repositories {
        jcenter()
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.4'
        //注意:更换成自己的AS的版本
    }
}

猜你喜欢

转载自blog.csdn.net/qq_26530191/article/details/83583285
今日推荐