我正在开发一款应用.在我的应用程序中,代码中没有错误,但是当我尝试运行我的项目时,它会出现以下错误.
错误:(1,1)评估项目':app'时出现问题.
无法应用插件[id'com.android.application']
无法创建"AppPlugin"类型的插件.
我试试这个也是Gradle发出错误"无法创建'AppPlugin'类型的插件'"
以下是我的build.gradle文件
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 23
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.praval.healthfreak"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.2.1'
compile 'com.google.android.gms:play-services:8.3.0'
compile 'de.hdodenhof:circleimageview:1.3.0'
compile 'com.android.support:design:23.2.1'
compile files('libs/YouTubeAndroidPlayerApi.jar')
}
Run Code Online (Sandbox Code Playgroud) 我刚刚更新了 Android studio 3.6.1,在构建我的应用程序时,我收到了以下警告:
配置项目:app 警告:以下项目选项已弃用并已删除: android.enableUnitTestBinaryResources 单元测试功能的原始资源已删除。
这是关于什么警告以及如何删除它?