Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

java.lang.RuntimeException: Unable to bind to service com.yandex.metrica.MetricaService #92

Open
BasetEsmaeili opened this issue Aug 28, 2022 · 1 comment

Comments

@BasetEsmaeili
Copy link

Android Versions: 5.0.2 until 7.1.1.
mobmetricalib version: 5.0.1
appmetrica-build-plugin version: 0.6.2
targetSdkVersion : 31

I see a lot of this error in the AppMetrica crash panel.
The error happens on different devices, especially Samsung and Huawei.
The error occurs in the background.

This is the crash log:

java.lang.RuntimeException: Unable to bind to service com.yandex.metrica.MetricaService@33f7fd0 with Intent { act=com.yandex.metrica.IMetricaService dat=metrica://com.nazdika.app/client?pid=5490&psid=50a2036c-5976-439c-9987-6b76db25eb49 flg=0x20 pkg=com.nazdika.app cmp=com.nazdika.app/com.yandex.metrica.MetricaService (has extras) }: java.lang.IllegalArgumentException
	at android.app.ActivityThread.handleBindService(ActivityThread.java:3360)
	at android.app.ActivityThread.-wrap3(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1640)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6349)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)
Caused by: java.lang.IllegalArgumentException
	at android.os.Parcel.nativeAppendFrom(Native Method)
	at android.os.Parcel.appendFrom(Parcel.java:463)
	at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1395)
	at android.os.Bundle.writeToParcel(Bundle.java:1157)
	at android.os.Parcel.writeBundle(Parcel.java:764)
	at android.content.Intent.writeToParcel(Intent.java:8762)
	at android.app.ActivityManagerProxy.publishService(ActivityManagerNative.java:4522)
	at android.app.ActivityThread.handleBindService(ActivityThread.java:3347)
@ghost
Copy link

ghost commented Aug 28, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant