Gradle DSL method not found: 'runProguard'解決辦法

自從升級了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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章