出现这些个错误,就是说相应的方法找不到了,可能是升级以后版本把以前的方法修改了,首先感谢强大的Google,其次记录下来,遇到以下方法找不到,可做相应替换
If you get one of these errors,
- Gradle DSL method not found: 'runProguard()'
- Gradle DSL method not found: 'zipAlign()'
- Gradle DSL method not found: 'jniDebugBuild()'
- Gradle DSL method not found: 'renderscriptDebug()'
You should change those property names to these new ones,
- BuildType.runProguard -> minifyEnabled
- BuildType.zipAlign -> zipAlignEnabled
- BuildType.jniDebugBuild -> jniDebuggable
- BuildType.renderscriptDebug -> renderscriptDebuggable