When installing OsmAnd~ from the F-droid client fails…
(“installation failed due to an unknown error”):
Download OsmAnd~ to PC:
Turn on Android developer mode:
1 Go to “Settings” / “System”
2 Tap “About phone”
3 Tap “Build number” seven times. …
4 The “Developer options” menu will now appear in your Settings menu.
Go to “Settings” / “System” / “Developer Options”
Turn on “USB debugging”
Connect the phone to the PC using a USB cable. Confirm “Enable debugging” popup window on the phone.
Based on this reddit article:
https://www.reddit.com/r/OsmAnd/comments/rrpxya/possible_fix_for_android_auto_and_osmand_fdroid/
On PC:
Download Android Platform Tools to PC:
cd platform-tools
adb push net.osmand.plus_4305.apk /data/local/tmp
adb shell pm install -i "com.android.vending" -r /data/local/tmp/net.osmand.plus_4305.apk
In case the message
“Error: android.os.ParcelableException: java.io.IOException: Requested internal only, but not enough space”
is reported:
Installation requires about 1Gb free space on the phone’s memory. Clear cache for most applications in the Android Settings / Application menu
In case: “Success”:
Delete apk file
adb shell rm -f /data/local/tmp/net.osmand.plus_4305.apk
Go to “Settings” / “System” / “Developer Options”
Turn off “USB debugging”
Start OsmAnd+ on phone
Click “Get Started”
OPTIONAL: At the bottom of the page: Change data storage to “External Store 2” or similar (SD Card)
Download Map for your location (auto-detected)
Press “Show Map”
OPTIONAL: Additional info on the map
Settings / Download maps /
Download: Contour Lines, Hillshades, Slopes
OPTIONAL: Hiking maps for Hungary
Settings / Configure Map / Map Source: Enable “Online maps”
On the phone, in Chrome: go to
https://turistautak.openstreetmap.hu/letoltesek.html and select “TuraReteg.sqlitedb”
OR
https://data2.openstreetmap.hu/TuraReteg.sqlitedb
TuraReteg.sqlitedb will be downloaded
Open file with OsmAnd+
Press “Dismiss” on the menu popping up (would replace the main map, we don’t want that)
Menu / Configure Map / Overlay map / On and Select TuraReteg
Set “Transparency” to maximum
Turn off “Show transparency slider”
Enjoy Hiking!