Skip to content

Android 10: java.lang.ClassNotFoundException com.google.maps.android.compose.utils.attribution.AttributionIdInitializer #1659

@emartynov

Description

@emartynov

Summary

Crash on Android 10 devices:

java.lang.ClassNotFoundException
com.google.maps.android.compose.utils.attribution.AttributionIdInitializer

Expected behavior

Not to crash

Environment details

  • Android 10
  • Background
  • maps-compose = "8.2.0"
  • play-services-maps = "20.0.0"

Steps to reproduce

I don't have them

Stack trace

Caused by androidx.startup.StartupException
java.lang.ClassNotFoundException: com.google.maps.android.compose.utils.attribution.AttributionIdInitializer
androidx.startup.AppInitializer.discoverAndInitialize (AppInitializer.java:243)
androidx.startup.AppInitializer.discoverAndInitialize (AppInitializer.java:207)
androidx.startup.InitializationProvider.onCreate (InitializationProvider.java:49)
android.content.ContentProvider.attachInfo (ContentProvider.java:2113)
android.content.ContentProvider.attachInfo (ContentProvider.java:2087)
android.app.ActivityThread.installProvider (ActivityThread.java:7704)
android.app.ActivityThread.installContentProviders (ActivityThread.java:7249)
android.app.ActivityThread.handleMakeApplication (ActivityThread.java:7109)
android.app.ActivityThread.handleBindApplication (ActivityThread.java:7077)
android.app.ActivityThread.access$1500 (ActivityThread.java:273)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:2096)
android.os.Handler.dispatchMessage (Handler.java:107)
android.os.Looper.loop (Looper.java:237)
android.app.ActivityThread.main (ActivityThread.java:8107)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:496)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)

Following these steps will guarantee the quickest resolution possible.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions