Plugin with id ‘com.android.application’ not found.
科大讯飞语音
如果编译时出现“ERROR: Plugin with id ‘com.android.application’ not found.”错误,请在build.gradle文件中添加以下代码。
buildscript {
repositories {
google()
jcenter()
}
dependencies {
//版本号请根据自己的gradle插件版本号自行更改
classpath ‘com.android.tools.build:gradle:3.4.0’
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}