0

I am getting the following error for some unknown reason, and this has been slowing the data loading process, the data loads after these errors come up, I have copied the json file in the project structure,made sure the version is correct, but still the error won't get removed. Due to this the app won't load the data no matter what you do

 Failed to get service from broker. 
    java.lang.SecurityException: Unknown calling package name 'com.google.android.gms'.
        at android.os.Parcel.createExceptionOrNull(Parcel.java:3242)
        at android.os.Parcel.createException(Parcel.java:3226)
        at android.os.Parcel.readException(Parcel.java:3209)
        at android.os.Parcel.readException(Parcel.java:3151)
        at asrr.a(:com.google.android.gms@[email protected] (260400-731361394):36)
        at aspy.z(:com.google.android.gms@[email protected] (260400-731361394):143)
        at arxh.run(:com.google.android.gms@[email protected] (260400-731361394):54)

                                                                                                                                                                                                            

the project module gradle file

plugins {
    id 'com.android.application'
    id 'org.jetbrains.kotlin.android'
    id 'com.google.gms.google-services'


}


    implementation 'com.google.android.gms:play-services-auth:21.3.0'


    implementation 'com.google.firebase:firebase-analytics'

   // Import the BoM for the Firebase platform
    implementation platform('com.google.firebase:firebase-bom:31.0.2')

and this is the project gradle file, i have copied the exact version provided in the firebase console

buildscript {
    dependencies {
        classpath 'com.google.gms:google-services:4.3.14'
    }
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
    id 'com.android.application' version '7.4.2' apply false
    id 'com.android.library' version '7.4.2' apply false
    id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
    id 'com.google.gms.google-services' version '4.3.10' apply false
}

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.