title: Android studio 4.1 dependencies issues
body: <p>I am working on an App project using Android studio (language is java) and i tried to infuse the firebase in build.gradle and app.gradle and got the following error &quot;only id(String) method calls allowed in plugins {} script block&quot; and i am lost as to how to solve the issue. Below is a copy of gradle files for your inspection</p>
  <p>Build.Gradle App</p>
  <pre><code>plugins {
  id 'com.android.application'
  
  android {
      // ...
  }
  }
  
  android {
  compileSdkVersion 30
  buildToolsVersion &quot;30.0.3&quot;
  
  defaultConfig {
  applicationId &quot;com.example.openingscreen&quot;
  minSdkVersion 16
  targetSdkVersion 30
  versionCode 1
  versionName &quot;1.0&quot;
  
  testInstrumentationRunner &quot;androidx.test.runner.AndroidJUnitRunner&quot;
  }
  
  buildTypes {
  release {
  minifyEnabled false
  proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  }
  }
  compileOptions {
  sourceCompatibility JavaVersion.VERSION_1_8
  targetCompatibility JavaVersion.VERSION_1_8
  }
  }
  
  dependencies {
  
  implementation 'androidx.appcompat:appcompat:'
  implementation 'com.google.android.material:material:1.1.0'
  implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  implementation platform('com.google.firebase:firebase-bom:26.5.0')
  implementation 'com.google.firebase:firebase-analytics'
  implementation 'com.google.firebase:firebase-auth:19.3.1'
  testImplementation 'junit:junit:4.+'
  androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  implementation 'com.google.firbase:firebase-auth:19.3.1 '
  }
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>