Cgeo: Map crashes on Android 10

Created on 8 Sep 2019  路  4Comments  路  Source: cgeo/cgeo

Describe the bug:
I have a Google Pixel 3 xl running on Android 10. When I switch the map to Gmaps, cgeo crashes with a NoClassDefFound for Apaches Http Client class.
I will try to analyze and fix this this evening, but I think it's a good idea to open the issue now.

To Reproduce:
On Android 10 use Gmaps as map provider.

Actual behavior/state after performing these steps:
FC caused by a NoClassDefFound exception.

Expected behavior/state after performing these steps:
The map showing gmaps. :-)

Version of c:geo used:
2019.08.18

Is the problem reproducible:
Yes

System information:
Device: Pixel 3 XL (crosshatch, google) Android version: 10 Android build: QP1A.190711.020 c:geo version: 2019.08.18 Google Play services: enabled - 19.0.56 (120400-262933554) Low power mode: inactive Compass capabilities: yes Rotation vector sensor: present Orientation sensor: present Magnetometer & Accelerometer sensor: present Direction sensor used: rotation vector Hide own/found: false HW acceleration: enabled (default state) System language: de_DE System date format: dd.MM.yy Debug mode active: no System internal c:geo dir: /data/user/0/cgeo.geocaching (12,3 GB free) internal User storage c:geo dir: /storage/emulated/0/cgeo (12,3 GB free) external non-removable Geocache data: /storage/emulated/0/Android/data/cgeo.geocaching/files/GeocacheData (12,3 GB free) external non-removable Database: /data/user/0/cgeo.geocaching/databases/data (17,7 MB) on system internal storage Fine location permission: granted Write external storage permission: granted Geocaching sites enabled: geocaching.com: Logged in (Anmeldung OK) / PREMIUM Geocaching.com date format: dd MMM yy Installed c:geo plugins: none

Bug Unverified

All 4 comments

Duplicate of #7369

We have plans to change to GMapsv2 which should implicitly solve the issue.
A branch with a working version is already here, however any help is appreciated.

If we could get gmapv1 running on Android 10 again until gmapv2 is ready, that would be even better.

Please kindly continue conversation in #7369

I'll do 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

king-ton picture king-ton  路  7Comments

SirJ-Oz picture SirJ-Oz  路  7Comments

SammysHP picture SammysHP  路  6Comments

Lineflyer picture Lineflyer  路  3Comments

chstdu picture chstdu  路  3Comments