这是我在尝试执行Gradle同步时遇到的问题,我也在运行最新的android工作室并且包含了minifyEnabled
Error:(33, 0) Gradle DSL method not found: 'runProguard()'
Possible causes:<ul><li>The project 'MLGSoundboard' 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>
答案 0 :(得分:0)
这只是项目的gradle配置的一个问题。只需创建一个新项目,然后将除旧项目中的gradle文件之外的所有内容拖到新项目中。