Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

478
Visualizações
Android Studio Error : Plugin with id 'com.google.gms.google-services' not found

I am new to Android Development. I am using Firebase in this project but I am getting this error during gradle:build

Plugin with id 'com.google.gms.google-services' not found.

This is my build.gradle file :

    apply plugin: 'com.android.application'
    apply plugin: 'com.google.gms.google-services'

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.3"

    defaultConfig {
        applicationId "com.health.healthbloom"
        minSdkVersion 17
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}
dependencies {
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation 'androidx.appcompat:appcompat:1.2.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
    implementation 'com.google.android.material:material:1.2.1'
    implementation 'com.google.firebase:firebase-database:19.5.1'
    implementation 'com.google.firebase:firebase-auth:20.0.1'
    implementation 'com.android.support:support-annotations:28.0.0'
    testImplementation 'junit:junit:4.13'
    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
    implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.21'
    implementation 'com.hbb20:ccp:2.3.1'
    implementation 'com.chaos.view:pinview:1.4.3'

}

I have tried adding this in Dependencies also :-

classpath 'com.google.gms:google-services:3.0.0'

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

Try adding this to your build.gradle dependencies:

classpath 'com.google.gms:google-services:4.3.4'

Also, remove

apply plugin:'com.google.gms.google-services'

from your project/build.gradle and add it to your app/build.gradle.

You can also check here for more info https://firebase.google.com/docs/android/setup#manually_add_firebase

over 4 years ago · Santiago Trujillo Relatório

0

You can simply delete all implementations from firebase, than go to Tools > Firebase and connect everything you need without headaches

over 4 years ago · Santiago Trujillo Relatório

0

just do a clean build and rebuild it too or else do invalidate cache and restart it will restart your android studio freshly.

you can find it that in file>invalidate cache and restart would be there

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda