Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 Bug Summary #554

Open
axti opened this issue Nov 5, 2021 · 1 comment
Open

🐞 Bug Summary #554

axti opened this issue Nov 5, 2021 · 1 comment
Labels

Comments

@axti
Copy link

axti commented Nov 5, 2021

Configuration

  • SDK Version core 5.0.0
  • Android OS Version 11
  • Device model(s): Samsung 8
  • App: Maps SDK v10

Steps to Reproduce
Just use Maps SDK v10 without play-service-location dependencies in the project.

Expected
Proper error message will help developers to understand and solve issue fast and efficiently.
Please catch the error and print error message such as "Please add implementation("com.google.android.gms:play-services-location:18.0.0") to your build.gradle dependencies list" or something similar to solve the problem with dependencies.

Logging

E/Parcel: Class not found when unmarshalling: com.google.android.gms.location.LocationResult
    java.lang.ClassNotFoundException: com.google.android.gms.location.LocationResult
        at java.lang.Class.classForName(Native Method)
        at java.lang.Class.forName(Class.java:453)
        at android.os.Parcel.readParcelableCreator(Parcel.java:2827)
        at android.os.Parcel.readParcelable(Parcel.java:2781)
        at android.os.Parcel.readValue(Parcel.java:2684)
        at android.os.Parcel.readArrayMapInternal(Parcel.java:3053)
        at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:288)
        at android.os.BaseBundle.unparcel(BaseBundle.java:232)
        at android.os.BaseBundle.containsKey(BaseBundle.java:504)
        at android.content.Intent.hasExtra(Intent.java:7923)
        at com.mapbox.android.core.location.LocationEngineResult.hasResult(LocationEngineResult.java:117)
        at com.mapbox.android.core.location.LocationEngineResult.extractAndroidResult(LocationEngineResult.java:111)
        at com.mapbox.android.core.location.LocationEngineResult.extractResult(LocationEngineResult.java:102)
        at com.mapbox.android.telemetry.location.LocationUpdatesBroadcastReceiver.onReceive(LocationUpdatesBroadcastReceiver.java:35)
        at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0(LoadedApk.java:1483)
        at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run(Unknown Source:2)
        at android.os.Handler.handleCallback(Handler.java:873)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7050)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

@mapbox/core-sdk

@axti axti added the bug label Nov 5, 2021
@kmadsen
Copy link
Contributor

kmadsen commented Jul 11, 2022

Bump on this, there are customer requests to have this fixed.

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

No branches or pull requests

2 participants