osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.59k stars 1.01k forks source link

updating to osmand 4.8.4 fails with INSTALL_FAILED_DUPLICATE_PERMISSION #20597

Closed olaf7 closed 1 month ago

olaf7 commented 1 month ago

Description

When updating to 4.8.8 using fdroid appstore I get: Error Installing OsmAnd~ INSTALL_FAILED_DUPLICATE_PERMISSION: Package net.osmand.plus attempting to redeclare permission net.osmand.SERVICE_PERMISSION already owned by net.osmand

Steps to reproduce

Update/download app using Fdroid. After download when trying to install the error occurs.

Actual result

Popup of error. One option: OK

Expected result

No error and update as usual. Now the app can no longer be upgraded.

Your Environment (required)

OsmAnd Version: 4.7.17 --> 4.8.8
Android/iOS version: Android 14
Device model: OnePlus 9
yuriiurshuliak commented 1 month ago

Please be informed that we only support official platforms such as Google Play, Apple AppStore, Amazon AppStore, and Huawei AppGallery. Since this issue occurred while updating via the F-Droid platform, we recommend contacting F-Droid support for further assistance with this specific problem.

vshcherb commented 1 month ago

Target sdk was updated, probably it's very specific issue to device

xxyxxyxyx1 commented 3 weeks ago

@olaf7, did you find a solution to this problem?

This problem is not (that) specific to a device. OP has a OnePlus, and I have a Pixel.

If I can figure out how to report this to Fdroid, I will do so and link to it.

Edit: I was able to update OsmAnd~ in Fdroid by manually selecting version 4.8.6 in the "Versions" tab of the Fdroid page. It seems to be working. I believe it was only 4.8.4 that had this build problem.

olaf7 commented 3 weeks ago

@xxyxxyxyx1 I reported the issue and in no time a solution was provided: https://gitlab.com/fdroid/fdroidclient/-/issues/2844

Spoiler: it is fixed in a new version. However to select an alternative version of an app in F-Droid is a bit of a puzzle: select 'versions' from the App's page, otherwise f-droid will keep trying to install the next version to the current version, which obviously is the one with issue.