title: Android Studio. Top-level build.gradle
body: <p>I downloaded Android Studio project. At the root of the project <strong>only one build.gradle</strong> with next structure:</p>
  
  <pre><code>apply plugin: 'com.android.library'
  
  android {
  }
  
  dependencies {      
  }
  </code></pre>
  
  <p>When I run build.gradle script I get the error: </p>
  
  <pre><code>Plugin with id 'com.android.library' not found.
  </code></pre>
  
  <p>I know that there must be another Top-level gradle file like this:</p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:2.2.2'
       }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  </code></pre>
  
  <p>But it is not present.
  How can i add this build file? Or maybe another way to fix this problem?</p>
  
  <p>The project was created in the <strong>old version of android studio</strong>. Perhaps he had worked for another way in old version? I am waiting for help. Thank you.</p>