Не удалось получить услуги от брокера. java.lang.securityexception: неизвестное имя пакета вызова 'com.google.android.gmAndroid

Форум для тех, кто программирует под Android
Ответить Пред. темаСлед. тема
Anonymous
 Не удалось получить услуги от брокера. java.lang.securityexception: неизвестное имя пакета вызова 'com.google.android.gm

Сообщение Anonymous »

Я получаю эту ошибку в Google вход и каждый раз, когда начинается мое приложение. < /p>
Failed to get service from broker. (Ask Gemini)
java.lang.SecurityException: Unknown calling package name com.google.android.gms'.
at android.os.Parcel.createExceptionOrNull(Unknown Source:7)
at android.os.Parcel.createException(Unknown Source:0)
at android.os.Parcel.readException(Unknown Source:11)
at android.os.Parcel.readException(Unknown Source:10)
at anrz.a(:com.google.android.gms@244631029@24.46.31 (190400-699197446):36)
at anqg.z(:com.google.android.gms@244631029@24.46.31 (190400-699197446):143)
at amxn.run(:com.google.android.gms@244631029@24.46.31 (190400-699197446):54)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at btul.mA(:com.google.android.gms@244631029@24.46.31 (190400-699197446):1)
at btul.dispatchMessage(:com.google.android.gms@244631029@24.46.31 (190400-699197446):5)
at android.os.Looper.loopOnce(Unknown Source:182)
at android.os.Looper.loop(Unknown Source:82)
at android.os.HandlerThread.run(Unknown Source:28)
10:42:17.674 W Failed to register com.google.android.gms.providerinstaller#com.google.android.gms (Ask Gemini)
elvi: 17: 17: API: Phenotype.API is not available on this device. Connection failed with: ConnectionResult{statusCode=DEVELOPER_ERROR, resolution=null, message=null}
at elvk.a(:com.google.android.gms@244631029@24.46.31 (190400-699197446):13)
at ffdw.d(:com.google.android.gms@244631029@24.46.31 (190400-699197446):3)
at ffdy.run(:com.google.android.gms@244631029@24.46.31 (190400-699197446):130)
at fffr.execute(:com.google.android.gms@244631029@24.46.31 (190400-699197446):1)
at ffdz.h(:com.google.android.gms@244631029@24.46.31 (190400-699197446):1)
at ffdz.l(:com.google.android.gms@244631029@24.46.31 (190400-699197446):101)
at ffdz.p(:com.google.android.gms@244631029@24.46.31 (190400-699197446):19)
at edyc.hD(:com.google.android.gms@244631029@24.46.31 (190400-699197446):35)
at dtiv.run(:com.google.android.gms@244631029@24.46.31 (190400-699197446):14)
at fffr.execute(:com.google.android.gms@244631029@24.46.31 (190400-699197446):1)
at dtiw.b(:com.google.android.gms@244631029@24.46.31 (190400-699197446):18)
at dtjl.b(:com.google.android.gms@244631029@24.46.31 (190400-699197446):36)
at dtjn.c(:com.google.android.gms@244631029@24.46.31 (190400-699197446):26)
at amuv.c(:com.google.android.gms@244631029@24.46.31 (190400-699197446):9)
at amxl.q(:com.google.android.gms@244631029@24.46.31 (190400-699197446):48)
at amxl.d(:com.google.android.gms@244631029@24.46.31 (190400-699197446):10)
at amxl.g(:com.google.android.gms@244631029@24.46.31 (190400-699197446):211)
at amxl.onConnectionFailed(:com.google.android.gms@244631029@24.46.31 (190400-699197446):2)
at amxn.run(:com.google.android.gms@244631029@24.46.31 (190400-699197446):82)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at btul.mA(:com.google.android.gms@244631029@24.46.31 (190400-699197446):1)
at btul.dispatchMessage(:com.google.android.gms@244631029@24.46.31 (190400-699197446):5)
at android.os.Looper.loopOnce(Unknown Source:182)
at android.os.Looper.loop(Unknown Source:82)
at android.os.HandlerThread.run(Unknown Source:28)
Caused by: amtn: 17: API: Phenotype.API is not available on this device. Connection failed with: ConnectionResult{statusCode=DEVELOPER_ERROR, resolution=null, message=null}
at anps.a(:com.google.android.gms@244631029@24.46.31 (190400-699197446):15)
at amuy.a(:com.google.android.gms@244631029@24.46.31 (190400-699197446):1)
at amuv.c(:com.google.android.gms@244631029@24.46.31 (190400-699197446):5)

< /code>
Я имел интегрированный пожарный магазин, обмен сообщениями Firebase и подпись Google, используя диспетчер учетных данных ниже, приведены мои связанные с ними версии зависимостей в сборке модуля. Грейд < /p>
implementation 'com.google.android.gms:play-services-auth:21.3.0'
implementation "androidx.credentials:credentials-play-services-auth:1.3.0"
implementation "androidx.credentials:credentials:1.3.0"
implementation "com.google.android.libraries.identity.googleid:googleid:1.1.1"
implementation platform('com.google.firebase:firebase-bom:33.7.0')
implementation 'com.google.firebase:firebase-firestore'
implementation 'com.firebaseui:firebase-ui-firestore:8.0.2'
implementation 'com.google.firebase:firebase-messaging'
implementation 'com.google.firebase:firebase-storage'
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-database'
implementation 'com.google.firebase:firebase-common-ktx'
implementation 'com.google.firebase:firebase-auth'
implementation 'com.google.android.libraries.places:places:4.1.0'
implementation 'com.google.android.gms:play-services-maps:19.0.0'
implementation 'com.google.maps:google-maps-services:0.2.4'
implementation 'com.google.maps.android:android-maps-utils:2.0.3'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.8.0'
< /code>
и в проекте Build .Gradle < /p>
ext {
agp_version = '8.6.1'
}
ext.kotlin_version = '1.9.0'
ext.compose_version = '1.5.0'
dependencies {
classpath "com.android.tools.build:gradle:$agp_version"
classpath 'com.google.gms:google-services:4.4.2'
classpath "io.realm:realm-gradle-plugin:10.18.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
< /code>
Также все эти API включены в Google Cloud Console

service service api

identity toolkit api

API API

для Android

помещает API

Cloud Firestore API

API обмена облачными сообщениями Firebase API

Cloud Storage для API Firebase

maps sdk для iOS

app engine

app app API API администратора двигателя

API API

BigQuery API

bigquery api api

Cloud Build API

API Datastore Cloud Datastor >
Облачные сообщения
API мониторинга облачного мониторинга

cloud pub /sub api

API Manager Cloud Resource Manager

Cloud Runtime API конфигурации

Cloud SQL

Cloud Storage

API тестирования облачных тестирования

Cloud Trace API

API реестра контейнеров

направления API

api матрицы расстояния

fcm Регистрация API

Приложение Firebase Проверьте API

API распределения приложений Firebase App

Dynamic Links API

API API API

API хостинга

API обмена сообщениями в приложении

API управления Firebase Management

Firebase remote Config API

API API GeoLocation API

GeoCoding

gmail api

Google Cloud API

Google Cloud Storage JSON API

Legacy Cloud Source Repositories API
Maps Api API

Карты встроенного API

Карты JavaScript API < /p>
также добавил последний файл Google-Services File My App Directory. Вход Google работает отлично, а все услуги, такие как пожарная машина и т. Д. Не работают ошибки. Проталкивайте уведомления несколько раз не работают. Какое возможное решение для этого вопроса? Мое приложение уже было в пороге плохого поведения Google Play. Поэтому я хотел исправить это, так как это могло бы способствовать этому или вызвать проблемы с уведомлениями. Я пытался поиск по переполнению стека, найденной здесь аналогичной проблемой, но не смог найти решение. Чего может отсутствовать?

Подробнее здесь: https://stackoverflow.com/questions/792 ... wn-calling
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Android»