在build.gradle 中多了方法android,只需要删除即可
//DELETE THIS LINES:
android { compileSdkVersion 21 buildToolsVersion '21.1.2' }可参见https://medium.com/@marcuspereira/solving-the-gradle-dsl-method-not-found-android-in-android-studio-6e5ab499bd3
在build.gradle 中多了方法android,只需要删除即可
//DELETE THIS LINES:
android { compileSdkVersion 21 buildToolsVersion '21.1.2' }可参见https://medium.com/@marcuspereira/solving-the-gradle-dsl-method-not-found-android-in-android-studio-6e5ab499bd3