title: Android studio error:Error:(23, 0) Could not find method android() for arguments on root project
body: <p>I reinstalled android studio, I am using the same project with android studio in another PC so the code is probably fine!
  It is the full error:</p>
  
  <pre><code> Error:(23, 0) Could not find method android() for arguments [build_1z9k6ruj47plglocgqknjnoag$_run_closure3@133cf914] on root project 'allthingsvegan-android-9d296805dc64' of type org.gradle.api.Project.
  </code></pre>
  
  <p>Open File</p>
  
  <hr>
  
  <p><strong>The solutions I've found on the internet was including changing the code.. So they are not relevant to me</strong> </p>
  
  <p>Thanks!!
  build.gradle:</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:2.2.0-beta1'
          classpath 'com.google.gms:google-services:3.0.0'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  allprojects {
      repositories {
          jcenter()
      }
  }
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  
  android {
      buildToolsVersion '24.0.1'
  }
  </code></pre>