您的位置:首页 > 大数据 > 人工智能

may be using a version of Gradle that does not contain the method.

2016-02-16 10:16 721 查看
转载自:http://www.bubuko.com/infodetail-650124.html

The project ‘HackerTool’ may be using a version of Gradle that does not contain the method.Open Gradle wrapper
file
The build file may be missing a Gradle plugin. Apply Gradle plugin
解决:
打开build.Gradle(Module:app),修改如下:
修改前:

buildTypes {
release {
runProguard  false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

修改后:

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Gradle Version Method