I have this error when trying to make a module of a project
apply plugin: \'com.android.library\' android { compileSdkVersion 17 buildToolsVersion \
I had the same problem.
It was caused by a corrupted file. If you added some new Drawable before getting this error, check them to see if they are correctly display in Android Studio Viewer.