title: Android Studio Error:(3, 0) Plugin with id 'com.android.application' not found
body: <p>I'm new to android studio and had somebody write an app I made which was originally used in app inventor. I followed his template and added new things. The app has a problem with the Gradle and gives me the following.</p>
  
  <pre><code>"Error:(3, 0) Plugin with id 'com.android.application' not found."
  </code></pre>
  
  <p>It also says that my extras Android Support Repository isn't installed however it is. and everything is up to date. I saw many things about updating the Gradle, How do I do that if the SDK manager didn't.</p>
  
  <p>code is:</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  apply plugin: 'com.android.application'
  android {
      compileSdkVersion 21
      buildToolsVersion "21.0.2"
  
      defaultConfig {
          applicationId "contactorganizer.introcode.or.myapplication"
          minSdkVersion 8
          targetSdkVersion 21
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              runProguard false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:21.0.0'
  }
  </code></pre>
  
  <p>Sorry about not having much knowledge.
  If you would like the project I can email it to you because I have absolutely no clue and would love to just build this.
  Thanks for your help!</p>