解决方法:http://stackoverflow.com/questions/27735646/android-studio-gradle-dsl-method-not-found-android-error17-0解决方法:删掉最外层的build.gradle中的android {compileSdkVersion 19buildToolsVersion '21.1.1'}