Closed nikhiljha closed 3 years ago
We are using the newest available version of tangram-es. Best report this problem directly into the tangram-es issue tracker. I'll close this here as this is not solvable in this repo
Quick link to their issue tracker: https://github.com/tangrams/tangram-es/issues/
Thanks! Created a new issue here: https://github.com/tangrams/tangram-es/issues/2215
I tried to build StreetComplete with changes to debug the issue, but I ran into this https://github.com/google/dagger/issues/1339 issue, which is caused by using JDK != 8 (?), but Android Studio refuses to load JDK < 11. What setup do you use to build this @westnordost ?
Looking at the project properties, Android Studio is using the JDK that is shipped together with Android Studio in my setup.
Oh no, the version I built myself runs without issue. Only the build on F-Droid is broken. :(
This issue keeps getting more cursed.
Hm!
The version you built will be a debug version. Try building a release version (I think you need to sign it with an own key then) and see if you can reproduce the crash with that.
Ah right, the release version crashes with the expected error. Maybe the compiler is optimizing something away when it's built in release mode. 🤔
Also kinda suspect proguard/r8, although Cannot fit requested classes in a single dex file (# methods: 73070 > 65536)
so I can't check when they're turned off.
Well you could try to turn on multidex to solve that particular problem. It is also possible to "debug" proguard/r8, i.e. output what exactly it throws away. I think it was some parameter you add to the proguard config that does that.
While running with grapheneOS, the app crashes on startup. I think I've narrowed this down to the hardened malloc implementation that grapheneOS uses, indicating memory management issues with the
com.mapzen.tangram
package.How to Reproduce
Versions affected Tested on StreetComplete v26.2, v27 from F-Droid, grapheneOS 2020-11-27 (Android 11)
Potential easy fix(?) It looks like they rewrote some of the relevant code in
tangram
recently (see https://github.com/tangrams/tangram-es/commit/c4b024539f07dff1addc2e6424e7a535a1f0c191), maybe upgrading the package will fix the issue.