如何解决;未能应用插件[id';com.android.application';];构建错误?
我正在开发一个android应用程序。它以前工作过。我的应用程序开始显示“构建失败”。相关的失败日志如下。什么问题会导致这个问题。我清理并运行make应用程序,但它没有解决它如何解决;未能应用插件[id';com.android.application';];构建错误?,android,android-gradle-plugin,Android,Android Gradle Plugin,我正在开发一个android应用程序。它以前工作过。我的应用程序开始显示“构建失败”。相关的失败日志如下。什么问题会导致这个问题。我清理并运行make应用程序,但它没有解决它 FAILURE: Build failed with an exception. * Where: Build file 'C:\Software\workspace\WaterMeterReader\app\build.gradle' line: 1 * What went wrong: A problem occu
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Software\workspace\WaterMeterReader\app\build.gradle' line: 1
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
> Could not create an instance of type com.android.build.gradle.AppExtension_Decorated.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or -- debug option to get more log output.
BUILD FAILED
我的build.gradle文件如下所示
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '23.0.1'
defaultConfig {
applicationId "com.belsoft.watermeterreader"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
repositories {
maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/' }
}
}
productFlavors {
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.android.support:support-v4:23.1.1'
compile 'com.google.code.ksoap2-android:ksoap2-android:3.3.0'
compile files('libs/Sewoo_Android_1070.jar')
}
你升级过你的工作室或歌德吗?没有,我没有升级我的工作室和歌德