Android Studio: Plugin con id ‘Android-library’ non trovato

Ho cercato di far funzionare ActionBarSherlock e avere qualche problema. Un problema che ho riscontrato è il seguente messaggio durante il tentativo di crearlo:

Plugin with id 'android-library' not found 

In particolare:

 D:\Projects\Android\actionbarsherlock>D:\Projects\Android\gradlew --info build Starting Build Settings evaluated using empty settings script. Projects loaded. Root project using build file 'D:\Projects\Android\actionbarsherlock\build.gradle'. Included projects: [root project 'actionbarsherlock'] Evaluating root project 'actionbarsherlock' using build file 'D:\Projects\Android\actionbarsherlock\build.gradle'. FAILURE: Build failed with an exception. * Where: Build file 'D:\Projects\Android\actionbarsherlock\build.gradle' line: 1 * What went wrong: A problem occurred evaluating root project 'actionbarsherlock'. > Plugin with id 'android-library' not found. 

Sto trattando questo come un problema ABS in un thread separato, quindi qui sono curioso di come affrontare il problema generale di:

 Plugin with id 'android-library' not found 

Ecco il build.gradle:

 apply plugin: 'android-library' dependencies { compile 'com.android.support:support-v4:18.0.+' } android { compileSdkVersion 14 buildToolsVersion '17.0.0' sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src'] res.srcDirs = ['res'] } } } 

Puoi aiutare?