quickstart-android
quickstart-android copied to clipboard
Unable to instantiate receiver com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver: java.lang.ClassNotFoundException
Unable to instantiate receiver com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver
<receiver
android:name="com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver"
android:permission="android.permission.INSTALL_PACKAGES"
android:enabled="true"
android:exported="true">
<intent-filter>
<action
android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
Caused by: java.lang.RuntimeException: Unable to instantiate receiver com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver"
at android.app.ActivityThread.handleReceiver (ActivityThread.java:4000)
at android.app.ActivityThread.access$1400 (ActivityThread.java:269)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2021)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:237)
at android.app.ActivityThread.main (ActivityThread.java:7860)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1075)
Caused by java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver"
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:196)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
at android.app.AppComponentFactory.instantiateReceiver (AppComponentFactory.java:110)
at androidx.core.app.CoreComponentFactory.instantiateReceiver (CoreComponentFactory.java:60)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3993)
Found in firebase crash report The device that happened, the system is concentrated below android10, Is this because of the googleplay service version of the device itself? Is there any way to avoid this crash?
used firebaseunity 8.9.0