Akylas / alpimaps

Offline map app iOS/Android
https://www.akylas.fr
MIT License
78 stars 2 forks source link

AlpiMaps crashes on start #5

Closed FabulousOne closed 1 year ago

FabulousOne commented 1 year ago

I discovered AlpiMaps recently, and had it installed on my phone. It worked as far as I could test it. But when I updated to the new versions (2.0.0.227/8/9), AlpiMaps crashes on the splash screen. I tried to uninstall it and reinstall an older version (2.0.0.226), but this one crashes now too. My phone is a Fairphone 3 with an Android 11 custom ROM (/e/ 1.8.1) with MicroG. Is there any way to get some logs in order to fix this crash? Thanks!

farfromrefug commented 1 year ago

@FabulousOne thanks for reporting this. I have been fighting that issue that I can't reproduce here. Would you by any chance be rooted and able to send me a logcat of the crash ?

FabulousOne commented 1 year ago

Yes, I am rooted. Could you tell me how to log, please?

farfromrefug commented 1 year ago

@FabulousOne the easiest way for you would be to install matlog on fdroid. Launch it first to.ensure it has permissions. Then re create the crash, open matlog, save to a file and share that file here. Thanks a lot for helping me!

FabulousOne commented 1 year ago

Thank you for taking time to look into this issue. Here are the logs, I hope it is usable like this (for me, it looks like Chinese...)

logs-2023-02-19-09-10-20.zip

farfromrefug commented 1 year ago

@FabulousOne thanks for the log. Sadly there is nothing in there :s Did you:

otherwise are you on windows / mac / linux?

FabulousOne commented 1 year ago

Hi @farfromrefug , so I redid the whole thing with your instructions. Yes, it has root permission. Have a look at it now:

logs-2023-02-19-22-53-32.zip

I am on Linux Mint 21.1 Cinnamon. I have Android tools installed.

farfromrefug commented 1 year ago

@FabulousOne thanks a lot i see the crash in your log! Will fix it and release very soon!

FabulousOne commented 1 year ago

Oh man, you're so cool! Thank you very much. I really like your app, so lightweight and useful, especially for hiking.

Thanks for your work!

farfromrefug commented 1 year ago

@FabulousOne thanks a lot. If you like it i ll explain to you how it should really be used. What country do you live in? Also there should be an update. Can you tell me if it works ?

FabulousOne commented 1 year ago

Hi @farfromrefug thank you very much, it works now! Yes, I'd like some explanation how to use it. I am German, but living in France. Cheers!

farfromrefug commented 1 year ago

@FabulousOne ok that is a great news as i live in France and thus i already have all the data built. So that you understand AlpiMaps expect offline data in a alpimaps_mbtiles folder on your sdcard. With those data it can do all of its operations (mapping, rooting, geocoding...) without the need for internet. Here is an example of how it can look like image

If you are interested you can:

Let me know if you need any help

FabulousOne commented 1 year ago

@farfromrefug Thank you very much. I was able to import the maps, and it works great! But I had some maps before installing your map. Does this works by default, or was it because Alpimaps used my Organic Maps folder?

farfromrefug commented 1 year ago

@FabulousOne the only map you might have had working before is osm online maps which is loaded by default when no local data is found. I dont use organic maps.