After Android Studio update: Gradle DSL method not found: 'runProguard()'

1 具体报错为:

Error:(16, 0) Gradle DSL method not found: 'runProguard()'

Possible causes:<ul><li>The project 'App' may be using a version of Gradle that does not contain the method.

<a href="openGradleSettings">Gradle settings</a></li><li>The build file may be missing a Gradle plugin.

<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>

2  原因:从 Android Gradle Plugin 0.14.0以后,runProguard属性被更名为minifyEnabled ,可以查看gradle plugin的版本说明

Screenshot showing change location in IDE

posted on 2015-11-16 18:01  新手酱油  阅读(397)  评论(0编辑  收藏  举报

导航