小编Moh*_*Syd的帖子

构建脚本错误,发现不支持的Gradle DSL方法:'release()'!当uograded到0.5.1

无法解决此错误,我已更新Android工作室.走了throungh其他这个解决方案,但没有为我工作,请帮助..

构建脚本错误,发现不支持的Gradle DSL方法:'release()'!可能的原因可能是:
- 您正在使用Gradle版本,其中方法不存在 - 您没有应用提供方法的Gradle插件 - 或者构建脚本中存在错误Gradle设置

Gradle版本 - 0.9

主要的gradle.

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.9.+'
    }

}
apply plugin: 'android'

android {
    compileSdkVersion 19

    buildToolsVersion "19.0.0"

}
Run Code Online (Sandbox Code Playgroud)

Project Gradle文件

apply plugin: 'android'

repositories {
    mavenCentral()
}

android {
    compileSdkVersion 17
    buildToolsVersion '18.0.1'

    defaultConfig {
        minSdkVersion 8
        targetSdkVersion 17
    }

    signingConfigs {
        release {
            storeFile file('dsc.jks')
            storePassword …
Run Code Online (Sandbox Code Playgroud)

android gradle android-studio build.gradle android-gradle-plugin

3
推荐指数
1
解决办法
9071
查看次数

Android studio:未显示过滤器选项

在此输入图像描述

我的android-studio logcat没有显示过滤器选项.我认为一些设置已经改变.

android-studio

2
推荐指数
1
解决办法
294
查看次数