Android Studio 1.0 RC2 error: “Gradle DSL method not found: ‘runProguard()’”

After installing the RC2 upgrade (in my case i’ve upgraded directly from 0.8.something to 1.0 rc2) the following error could appear when reimporting/resyncing projects created with previous versions:

Gradle DSL method not found: ‘runProguard()’

The solution is quite simple: replace “runProguard” with “minifyEnabled” in your build.gradle files. runProguard was renamed to minifyEnabled in version 0.14.0. For more info, see http://tools.android.com/tech-docs/new-build-system


Posted

in

by

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from try {} except

Subscribe now to keep reading and get access to the full archive.

Continue reading