MarcusWolschon / osmeditor4android

Vespucci is a OpenStreetMap editor for Android

Home Page:http://vespucci.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

R8 minified APK broken

simonpoole opened this issue · comments

The fake release and by extension the release APKs hang on startup. Preliminary analysis indicates that this is due to an R8 issue.

Piggybacking this issue to ask a general query on releases and installations. Why does all the installation of the application on devices has this - missing preset file & missing auto-preset file Exception? (Even apk installations have this exception. Some also has a failed to open database exception) While opening the app most time is usually spent on the [Please wait : Loading preset] window, that is why I wanted to ask this.

See here logs for master-branch installation of this application
master Oneplus 2024-04-01-A.txt

Here are the same logs mixed with the device wide logs
master Oneplus full 2024-04-01-A.txt

Why does all the installation of the application on devices has this - missing preset file & missing auto-preset file Exception?

We need to test if there is already an existing tile database or not, if it already exists and is readable we don't need to create it, For whatever reason the Android Sqlite implementation always writes out a stack trace when it can't open a database instead of just throwing an exception (which we duly catch).

That said pls do not ask totally unrelated questions on a random open issue.