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

GoogleActivityRecognition.start #2500

Open
cawanlei opened this issue Oct 22, 2024 · 2 comments
Open

GoogleActivityRecognition.start #2500

cawanlei opened this issue Oct 22, 2024 · 2 comments
Labels
bug 🪲 Something isn't working

Comments

@cawanlei
Copy link

cawanlei commented Oct 22, 2024

Environment

  • Android OS version: android12(90%) and android 14(10%)
  • Maps SDK Version: 11.6.0

Fatal Exception: java.lang.NoSuchMethodError: No static method registerReceiver(Landroid/content/Context;Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent; in class Lf0/a; or its super classes (declaration of 'f0.a' appears in /data/internal_app/com.package.x-WNe7heuw-kkRJw3S-MZuDQ==/base.apk)
at com.mapbox.common.movement.GoogleActivityRecognition.start(GoogleActivityRecognition.kt:111)
at com.mapbox.common.movement.AndroidMovementMonitor.registerObserver(AndroidMovementMonitor.kt:60)

@cawanlei cawanlei added the bug 🪲 Something isn't working label Oct 22, 2024
@kiryldz
Copy link
Contributor

kiryldz commented Oct 22, 2024

@cawanlei thanks for reporting. Are you using Proguard in your app?

@cawanlei
Copy link
Author

cawanlei commented Oct 30, 2024

@kiryldz yes. but I don't add the mapbox Proguard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants