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

MapLibre crashes on Android 15 page size 16 from version 11.5.2 and above #2995

Closed
IkeaOlof opened this issue Nov 6, 2024 · 5 comments · Fixed by #2996
Closed

MapLibre crashes on Android 15 page size 16 from version 11.5.2 and above #2995

IkeaOlof opened this issue Nov 6, 2024 · 5 comments · Fixed by #2996
Labels
android bug Something isn't working build Related to build, configuration or CI/CD

Comments

@IkeaOlof
Copy link

IkeaOlof commented Nov 6, 2024

Describe the bug
When running maplibre on Android 15 with page size 16 it crashes.
It works for version 11.5.0 and 11.5.1, but I can see that you changed "Use Kotlin instead of Groovy for Android build configuration" in 11.5.2 which might be the reason for why it doesn't work anymore on that version and above.

To Reproduce
Steps to reproduce the behavior:

  1. Use an emulator with android 15 page size 16.
  2. Open maplibre
  3. Crash happens.

Expected behavior
The maplibre should work as expected for version 11.5.2 and above on Android 15 with page size 16.

Platform information (please complete the following information):

  • OS: Android 15, page size 16
  • Platform Android
  • Version 15 (API 35) with page size 16
@IkeaOlof IkeaOlof added the bug Something isn't working label Nov 6, 2024
@louwers
Copy link
Collaborator

louwers commented Nov 6, 2024

Oof thanks for the report, I'll look into this.

@louwers louwers added build Related to build, configuration or CI/CD android labels Nov 6, 2024
@louwers
Copy link
Collaborator

louwers commented Nov 6, 2024

The issues is that the NDK version is not set to 27 anymore so it uses an older version from the environment.

I will push a fix and release a new version today.

@IkeaOlof
Copy link
Author

IkeaOlof commented Nov 6, 2024

The issues is that the NDK version is not set to 27 anymore so it uses an older version from the environment.

I will push a fix and release a new version today.

Awesome, thanks for quick investigation and fix 💪

@louwers
Copy link
Collaborator

louwers commented Nov 6, 2024

@IkeaOlof 11.6.1 is out which should fix this.

Please let me know if it solves the issue!

Also we're interested to know who is using MapLibre Native. Feel free to drop a comment here.

@IkeaOlof
Copy link
Author

IkeaOlof commented Nov 7, 2024

@IkeaOlof 11.6.1 is out which should fix this.

Please let me know if it solves the issue!

Also we're interested to know who is using MapLibre Native. Feel free to drop a comment here.

@louwers It seems to work like a charm. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android bug Something isn't working build Related to build, configuration or CI/CD
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants