Comments (18)
I cannot reproduce the problem, but this style is also known to be malfunctioning. Try with another tile source please.
from maplibre-native.
Did you use a real pixel device? Not an emulated one?
Me and my colleagues can reproduce it independent of a particular style on these phones.
There are other styles causing this issue even more like this:
https://demotiles.maplibre.org/styles/osm-bright-gl-terrain/style.json
and not so frequent but still explorable especially when pinch to zoom closely:
https://demotiles.maplibre.org/style.json
please note those are styles provided in your demo application.
How should we proceed, please advise,
Cheers
C
from maplibre-native.
I tested on a Samsung S10 and a Google Pixel 7.
What version of OkHttp are you using?
Does the error occur if you don't set the HTTP client?
from maplibre-native.
The one mentioned in the discussion, let's see:
implementation("com.squareup.okhttp3:okhttp:4.11.0")
Without the client I am not able to fetch the style, am I?
from maplibre-native.
@chjaeggi It is not needed, it will fall back to the default ok http client (it is a dependency).
Edit: The 10.2.0 release used OkHttp 4.10.0, so it should be compatible. But you might want to try removing it.
from maplibre-native.
I removed everything related to OKHttp, it really seems an issue with your code accessing disk (as the device is getting hot after a time, not sure about that as I/O could relate to network communication)
from maplibre-native.
Can you provide more output?
Does it happen on other phones too?
What Android version are you using?
We do benchmarking and Android UI tests on Pixel devices and we have not encountered this issue.
from maplibre-native.
At the moment all I have is this:
2024-02-20 16:45:20.705 15143-15375 recomposesample ch.exmple.mapslibrecomposesample E PIXEL: ioctl err: 1
2024-02-20 16:45:20.715 15143-15375 recomposesample ch.exmple.mapslibrecomposesample E PIXEL: ioctl err: 1
2024-02-20 16:45:20.732 15143-15375 recomposesample ch.exmple.mapslibrecomposesample E PIXEL: ioctl err: 1
2024-02-20 16:45:20.749 15143-15375 recomposesample ch.exmple.mapslibrecomposesample E PIXEL: ioctl err: 1
2024-02-20 16:45:20.764 15143-15375 recomposesample ch.exmple.mapslibrecomposesample E PIXEL: ioctl err: 1
2024-02-20 16:45:20.784 15143-15375 recomposesample ch.exmple.mapslibrecomposesample E PIXEL: ioctl err: 1
2024-02-20 16:45:20.799 15143-15375 recomposesample ch.exmple.mapslibrecomposesample E PIXEL: ioctl err: 1
... errors counting heavily up
There is not more output besides that line unfortunately.
Other phones yes: each pixel we tested so far (Pixel 8 Pro, Pixel Foldable, Pixel 5 and Pixel 4)
Version Android 13 and 14.
from maplibre-native.
One last thing you could try is to use an AppCompatActivity
instead of a ComponentActivity
, since that is what is used for all our testing.
from maplibre-native.
hey there thanks for the support! Unfortunately no success either with an AppCompatActivity
and
theme <style name="Theme.MapsLibreComposeSample" parent="Theme.AppCompat.NoActionBar" />
.
Same error still.
It really is strange that you cannot observe these events on none of your pixel phones
from maplibre-native.
I assume while looking at the code those errors can only originate from the:
MapboxGLSurfaceView
class which does the heavy lifting and also the error occurs when wandering around the map
from maplibre-native.
any updates?
from maplibre-native.
@chjaeggi Can you try this? I just built it myself and ran it on a clean Pixel 8 Pro (no error). https://drive.google.com/file/d/1FVM4ypLjiRaVxE4jUJuwJRhIj6v_-MKx/view?usp=sharing
If it works there is something wrong with your build setup. If it doesn't work there is probably something wrong with your devices...
from maplibre-native.
animated location indicator
This might be what is making the phone hot. I'll merge this today and release a new pre-release, maybe you could see if that fixes it. #2182
from maplibre-native.
What release number would that be? Is it merged already? Thanks for the help
from maplibre-native.
Thhat is a build from main, so the upcoming 11.0.0 release.
from maplibre-native.
sorry for the hassle i generate. any update when this will be released? I have a hard time to debug with all thoses errors and I would love to test the new release. Is there a way I can locally build one myself?
from maplibre-native.
@chjaeggi No problem. The 11.0.0 release is scheduled for the end of this month.
You can build the library with ./gradlew assemble
in platform/android
. Make sure to clone the submodules. https://github.com/maplibre/maplibre-native/blob/main/platform/android/DEVELOPING.md#getting-the-source
from maplibre-native.
Related Issues (20)
- Memory usage high in some cases
- Android 10.3.1 Release with Debug Symbols HOT 1
- IndexedSymbolInstance Crash HOT 1
- Crash in iOS simulator on Sonoma + XCode 15 HOT 1
- PMTiles area download mechanism HOT 4
- CURL_POLL_REMOVE socket action is unhandled and causes runtime error HOT 2
- Support `text-variable-anchor-offset` property
- Use Drawable Renderer for Android Render Test on CI
- Accept CSS style padding different on different sides for `icon-padding` property
- Crash on startup with Android Emulator API ≤ 30 HOT 12
- Abysmal performance with x86_64 Android emulator HOT 6
- Crash on rotating with Android Emulator HOT 3
- Icons in geojson source randomly vanish depending on zoom level / tile HOT 7
- Render Test Parity Tool
- Look into GitHub Artifact Attestations
- Failed assertion on iOS / Metal 6.4.0 HOT 1
- Line annotations don't appear immediately on iOS HOT 9
- When will the ScaleBarPlugin compatible with android-v11.0.0 Maplibre version be updated? HOT 2
- Fix deployment Android documentation HOT 1
- Missing data for single tiles when using `GeoJsonSource` HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maplibre-native.