Gradle DSL method not found: 'runProguard'解决办法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/ameryzhu/article/details/41752493

自从升级了1.0 RC版本的android studio 后,github上的一些工程在import的时候gradle就开始报错了。解决办法如下:

来自stackoverflow的帖子:http://stackoverflow.com/questions/27078075/gradle-dsl-method-not-found-runproguard

If you are using version 0.14.0 or higher of the gradle plugin, you should replace "runProguard" with"minifyEnabled" in your build.gradle files.

runProguard was renamed to minifyEnabled in version 0.14.0. For more info, seehttp://tools.android.com/tech-docs/new-build-system

猜你喜欢

转载自blog.csdn.net/ameryzhu/article/details/41752493
今日推荐