F-Droid - Error Installing Bitwarden #1529

Closed
opened 2025-11-26 22:51:40 -06:00 by GiteaMirror · 33 comments
Owner

Originally created by @shrimprugbysnowowl on GitHub (Nov 11, 2022).

Steps To Reproduce

  1. Add the Bitwarden repo in F-Droid.
  2. Refresh repositories in F-Droid.
  3. Search for and install the latest version of Bitwarden from F-Droid.

Expected Result

Bitwarden is installed.

Actual Result

An error is thrown, which reads, "Error installing Bitwarden", "Failed to install due to an unknown error". The only option to proceed is "OK".

Screenshots or Videos

No response

Additional Context

I've deleted and re-added the Bitwarden repo several times and rebooted the device multiple times.

I'm running GrapheneOS, Android v13, F-Droid v1.15.3, and I'm experiencing the issue in the Owner profile (I have not tried to reproduce this in other android user profiles.

Operating System

Android

Operating System Version

13

Device

Google Pixel 4a

Build Version

2022.10.0

Beta

  • Using a pre-release version of the application.
Originally created by @shrimprugbysnowowl on GitHub (Nov 11, 2022). ### Steps To Reproduce 1. Add the Bitwarden repo in F-Droid. 2. Refresh repositories in F-Droid. 3. Search for and install the latest version of Bitwarden from F-Droid. ### Expected Result Bitwarden is installed. ### Actual Result An error is thrown, which reads, "Error installing Bitwarden", "Failed to install due to an unknown error". The only option to proceed is "OK". ### Screenshots or Videos _No response_ ### Additional Context I've deleted and re-added the Bitwarden repo several times and rebooted the device multiple times. I'm running GrapheneOS, Android v13, F-Droid v1.15.3, and I'm experiencing the issue in the Owner profile (I have not tried to reproduce this in other android user profiles. ### Operating System Android ### Operating System Version 13 ### Device Google Pixel 4a ### Build Version 2022.10.0 ### Beta - [ ] Using a pre-release version of the application.
GiteaMirror added the bug label 2025-11-26 22:51:40 -06:00
Author
Owner

@Silejonu commented on GitHub (Nov 12, 2022):

Same issue here on a clean GrapheneOS profile through the Play Store.

@Silejonu commented on GitHub (Nov 12, 2022): Same issue here on a clean GrapheneOS profile through the Play Store.
Author
Owner

@Xstoudi commented on GitHub (Dec 2, 2022):

Same issue on clean GrapheneOS install with Google Pixel 6a. Did someone found a workaround?

@Xstoudi commented on GitHub (Dec 2, 2022): Same issue on clean GrapheneOS install with Google Pixel 6a. Did someone found a workaround?
Author
Owner

@Silejonu commented on GitHub (Dec 2, 2022):

Same issue on clean GrapheneOS install with Google Pixel 6a. Did someone found a workaround?

I successfully installed it on GrapheneOS on a Pixel 6a through F-Droid.

@Silejonu commented on GitHub (Dec 2, 2022): > Same issue on clean GrapheneOS install with Google Pixel 6a. Did someone found a workaround? I successfully installed it on GrapheneOS on a Pixel 6a through F-Droid.
Author
Owner

@Xstoudi commented on GitHub (Dec 3, 2022):

Seems to work today!

@Xstoudi commented on GitHub (Dec 3, 2022): Seems to work today!
Author
Owner

@shrimprugbysnowowl commented on GitHub (Dec 3, 2022):

Reattempted the installation and nothing has changed on my end. I even deleted and recreated the Bitwarden repo.

@shrimprugbysnowowl commented on GitHub (Dec 3, 2022): Reattempted the installation and nothing has changed on my end. I even deleted and recreated the Bitwarden repo.
Author
Owner

@jcz1 commented on GitHub (Dec 6, 2022):

"...apk failed to verify!" :(
version 2022.10.1
LineageOS 19 + microG

@jcz1 commented on GitHub (Dec 6, 2022): "...apk failed to verify!" :( version 2022.10.1 LineageOS 19 + microG
Author
Owner

@catfluoride commented on GitHub (Dec 6, 2022):

Same on my end

"...apk failed to verify!" :( version 2022.10.1 LineageOS 19 + microG

Same result, with a setup identical to yours.

@catfluoride commented on GitHub (Dec 6, 2022): Same on my end > "...apk failed to verify!" :( version 2022.10.1 LineageOS 19 + microG Same result, with a setup identical to yours.
Author
Owner

@shrimprugbysnowowl commented on GitHub (Dec 6, 2022):

Is this getting any visibility from the devs? Seems significant if there's an issue installing through f-droid that's affecting multiple users?

Does anyone know if an appropriate workaround would be to install the apk hosted here on github? Does it check for updates? Is it free from firebase and MS visual studio analytics like the f-droid version is (vs the one in the play store)?

@shrimprugbysnowowl commented on GitHub (Dec 6, 2022): Is this getting any visibility from the devs? Seems significant if there's an issue installing through f-droid that's affecting multiple users? Does anyone know if an appropriate workaround would be to install the apk hosted here on github? Does it check for updates? Is it free from firebase and MS visual studio analytics like the f-droid version is (vs the one in the play store)?
Author
Owner

@djsmith85 commented on GitHub (Dec 6, 2022):

@jcz1, @catfluoride, @shrimprugbysnowowl Is this still occurring with 2022.11.0 which can be pulled from https://mobileapp.bitwarden.com/fdroid/ ? (Repo info)

Other commenters on this issue, seem to have gotten it working.

@djsmith85 commented on GitHub (Dec 6, 2022): @jcz1, @catfluoride, @shrimprugbysnowowl Is this still occurring with 2022.11.0 which can be pulled from https://mobileapp.bitwarden.com/fdroid/ ? ([Repo info](https://mobileapp.bitwarden.com/fdroid/repo/)) Other commenters on this issue, seem to have gotten it working.
Author
Owner

@mpbw2 commented on GitHub (Dec 6, 2022):

I just installed our latest 2022.11.0 release through F-Droid 1.15.4 without issue.

Does anyone know if an appropriate workaround would be to install the apk hosted here on github?

The F-Droid APK (com.x8bit.bitwarden-fdroid.apk) is the same one installed through F-Droid (free from analytics, etc.):

https://github.com/bitwarden/mobile/releases/tag/v2022.11.0

@mpbw2 commented on GitHub (Dec 6, 2022): I just installed our latest 2022.11.0 release through F-Droid 1.15.4 without issue. > Does anyone know if an appropriate workaround would be to install the apk hosted here on github? The F-Droid APK (`com.x8bit.bitwarden-fdroid.apk`) is the same one installed through F-Droid (free from analytics, etc.): https://github.com/bitwarden/mobile/releases/tag/v2022.11.0
Author
Owner

@shrimprugbysnowowl commented on GitHub (Dec 6, 2022):

@jcz1, @catfluoride, @shrimprugbysnowowl Is this still occurring with 2022.11.0 which can be pulled from https://mobileapp.bitwarden.com/fdroid/ ? (Repo info)

Other commenters on this issue, seem to have gotten it working.

No change for me, also using F-Droid 1.14.1:

Screenshot_20221206-104729

Edit: Is there some way to create a log of this error?

@shrimprugbysnowowl commented on GitHub (Dec 6, 2022): > @jcz1, @catfluoride, @shrimprugbysnowowl Is this still occurring with 2022.11.0 which can be pulled from https://mobileapp.bitwarden.com/fdroid/ ? ([Repo info](https://mobileapp.bitwarden.com/fdroid/repo/)) > > Other commenters on this issue, seem to have gotten it working. No change for me, also using F-Droid 1.14.1: ![Screenshot_20221206-104729](https://user-images.githubusercontent.com/59341190/205976227-a6d824d9-ee5d-46bd-bc6d-2131145b26ed.png) Edit: Is there some way to create a log of this error?
Author
Owner

@shrimprugbysnowowl commented on GitHub (Dec 6, 2022):

I just installed our latest 2022.11.0 release through F-Droid 1.15.4 without issue.

Does anyone know if an appropriate workaround would be to install the apk hosted here on github?

The F-Droid APK (com.x8bit.bitwarden-fdroid.apk) is the same one installed through F-Droid (free from analytics, etc.):

https://github.com/bitwarden/mobile/releases/tag/v2022.11.0

Thank you for the info. Confirming that the Bitwarden F-Droid APK does not check github for an updated APK and notify the user, correct?

@shrimprugbysnowowl commented on GitHub (Dec 6, 2022): > I just installed our latest 2022.11.0 release through F-Droid 1.15.4 without issue. > > > Does anyone know if an appropriate workaround would be to install the apk hosted here on github? > > The F-Droid APK (`com.x8bit.bitwarden-fdroid.apk`) is the same one installed through F-Droid (free from analytics, etc.): > > https://github.com/bitwarden/mobile/releases/tag/v2022.11.0 Thank you for the info. Confirming that the Bitwarden F-Droid APK does not check github for an updated APK and notify the user, correct?
Author
Owner

@jcz1 commented on GitHub (Dec 6, 2022):

@jcz1, @catfluoride, @shrimprugbysnowowl Is this still occurring with 2022.11.0 which can be pulled from https://mobileapp.bitwarden.com/fdroid/ ? (Repo info)

It is the same. But i am able to install f-droid apk from github...

@jcz1 commented on GitHub (Dec 6, 2022): > @jcz1, @catfluoride, @shrimprugbysnowowl Is this still occurring with 2022.11.0 which can be pulled from https://mobileapp.bitwarden.com/fdroid/ ? ([Repo info](https://mobileapp.bitwarden.com/fdroid/repo/)) > It is the same. But i am able to install f-droid apk from github...
Author
Owner

@mpbw2 commented on GitHub (Dec 6, 2022):

Thank you for the info. Confirming that the Bitwarden F-Droid APK does not check github for an updated APK and notify the user, correct?

@shrimprugbysnowowl That's correct, there's no version checking built-in to the app itself. However the signing key we use is unique for the F-Droid build so the F-Droid app can still take "ownership" of it and prompt for updates in the future.

@mpbw2 commented on GitHub (Dec 6, 2022): > Thank you for the info. Confirming that the Bitwarden F-Droid APK does not check github for an updated APK and notify the user, correct? @shrimprugbysnowowl That's correct, there's no version checking built-in to the app itself. However the signing key we use is unique for the F-Droid build so the F-Droid app can still take "ownership" of it and prompt for updates in the future.
Author
Owner

@mpbw2 commented on GitHub (Jan 4, 2023):

This may be connected but I'll leave this issue open until the change goes live.

@mpbw2 commented on GitHub (Jan 4, 2023): This may be connected but I'll leave this issue open until the change goes live.
Author
Owner

@cyanide699 commented on GitHub (Jan 11, 2023):

Not sure if related but just had an update prompt for bitwarden on fdroid.... It fails to.install "error installing, failed to verify"

I then manually downloaded the apk from github and installed ok...
Fdroid now nags "fdroid repo index.jar is older than current repo"

Pixel 7 pro (stock)

@cyanide699 commented on GitHub (Jan 11, 2023): Not sure if related but just had an update prompt for bitwarden on fdroid.... It fails to.install "error installing, failed to verify" I then manually downloaded the apk from github and installed ok... Fdroid now nags "fdroid repo index.jar is older than current repo" Pixel 7 pro (stock)
Author
Owner

@mpbw2 commented on GitHub (Jan 11, 2023):

@cyanide699 Looking into this now

@mpbw2 commented on GitHub (Jan 11, 2023): @cyanide699 Looking into this now
Author
Owner

@cyanide699 commented on GitHub (Jan 11, 2023):

@cyanide699 Looking into this now

Thanks .. My bw is running ok after the manual upgrade using the apk from github

But just checked fdroid again "check for updates" and still see the index.jar warning about bw.

It does have some numbers about the index.jar
1670237786←16734297
If that helps

@cyanide699 commented on GitHub (Jan 11, 2023): > @cyanide699 Looking into this now Thanks .. My bw is running ok after the manual upgrade using the apk from github But just checked fdroid again "check for updates" and still see the index.jar warning about bw. It does have some numbers about the index.jar 1670237786←16734297 If that helps
Author
Owner

@mpbw2 commented on GitHub (Jan 11, 2023):

@cyanide699 Should be fixed now (cache problem on our end presented the new apk hash for the old apk resulting in a validation error by the FD client)

@mpbw2 commented on GitHub (Jan 11, 2023): @cyanide699 Should be fixed now (cache problem on our end presented the new apk hash for the old apk resulting in a validation error by the FD client)
Author
Owner

@cyanide699 commented on GitHub (Jan 11, 2023):

@cyanide699 Should be fixed now (cache problem on our end presented the new apk hash for the old apk resulting in a validation error by the FD client)

Seems ok here fdroid check for updates shows no warning now (however i had already manually updated)
Thanks for the update!

@cyanide699 commented on GitHub (Jan 11, 2023): > @cyanide699 Should be fixed now (cache problem on our end presented the new apk hash for the old apk resulting in a validation error by the FD client) Seems ok here fdroid check for updates shows no warning now (however i had already manually updated) Thanks for the update!
Author
Owner

@mpbw2 commented on GitHub (Jan 12, 2023):

I believe there were two separate issues reported in this thread (the first being the cache issue when a new release is pushed, and the second being the improper url). At the moment both of these have been fixed, however you may need to remove and re-add the Bitwarden repo to make sure you're using the fixed url. Can everyone confirm if that fixes the remaining install issues using the F-Droid client? (1.15.x or 1.16-alphax are both working for me now).

@mpbw2 commented on GitHub (Jan 12, 2023): I believe there were two separate issues reported in this thread (the first being the cache issue when a new release is pushed, and the second being the improper url). At the moment both of these have been fixed, however **you may need to remove and re-add the Bitwarden repo to make sure you're using the fixed url**. Can everyone confirm if that fixes the remaining install issues using the F-Droid client? (1.15.x or 1.16-alphax are both working for me now).
Author
Owner

@shrimprugbysnowowl commented on GitHub (Jan 12, 2023):

I believe there were two separate issues reported in this thread (the first being the cache issue when a new release is pushed, and the second being the improper url). At the moment both of these have been fixed, however you may need to remove and re-add the Bitwarden repo to make sure you're using the fixed url. Can everyone confirm if that fixes the remaining install issues using the F-Droid client? (1.15.x or 1.16-alphax are both working for me now).

Correct, these are separate issues.

I re-added the repository in fdroid but I still receive the same error that I posted about originally - "Error installing Bitwarden[.] Failed to install due to an unknown error".

@shrimprugbysnowowl commented on GitHub (Jan 12, 2023): > I believe there were two separate issues reported in this thread (the first being the cache issue when a new release is pushed, and the second being the improper url). At the moment both of these have been fixed, however **you may need to remove and re-add the Bitwarden repo to make sure you're using the fixed url**. Can everyone confirm if that fixes the remaining install issues using the F-Droid client? (1.15.x or 1.16-alphax are both working for me now). Correct, these are separate issues. I re-added the repository in fdroid but I still receive the same error that I posted about originally - "Error installing Bitwarden[.] Failed to install due to an unknown error".
Author
Owner

@mpbw2 commented on GitHub (Jan 12, 2023):

@shrimprugbysnowowl Can you confirm the new repo url ends with /repo? (full url is https://mobileapp.bitwarden.com/fdroid/repo)

@mpbw2 commented on GitHub (Jan 12, 2023): @shrimprugbysnowowl Can you confirm the new repo url ends with `/repo`? (full url is `https://mobileapp.bitwarden.com/fdroid/repo`)
Author
Owner

@shrimprugbysnowowl commented on GitHub (Jan 12, 2023):

Yes, it ends in /repo. I copied the link and fingerprint from Bitwarden's website, and it's https://mobileapp.bitwarden.com/fdroid/repo.

@shrimprugbysnowowl commented on GitHub (Jan 12, 2023): Yes, it ends in ```/repo```. I copied the link and fingerprint from Bitwarden's website, and it's ```https://mobileapp.bitwarden.com/fdroid/repo```.
Author
Owner

@mpbw2 commented on GitHub (Jan 12, 2023):

Okay thanks, looks like this issue will unfortunately remain open until we figure out what's going on (but hopefully remain on topic since the other issues described have been fixed)

@mpbw2 commented on GitHub (Jan 12, 2023): Okay thanks, looks like this issue will unfortunately remain open until we figure out what's going on (but hopefully remain on topic since the other issues described have been fixed)
Author
Owner

@shrimprugbysnowowl commented on GitHub (Feb 14, 2023):

Attempted again but the issue remains. I currently have over 30 other apps installed from f-droid and haven't run into this issue before. Can someone please update as to the status? #2276 has not fixed this issue as the subtitle here might suggest.

@shrimprugbysnowowl commented on GitHub (Feb 14, 2023): Attempted again but the issue remains. I currently have over 30 other apps installed from f-droid and haven't run into this issue before. Can someone please update as to the status? #2276 has not fixed this issue as the subtitle here might suggest.
Author
Owner

@shrimprugbysnowowl commented on GitHub (Aug 9, 2023):

This still occurs with v2023.7.0. I removed the repo, updated repositories, closed f-droid, cleared cache, restarted, re-added Bitwarden repo, updated repos, attempted to install Bitwarden, and the installation failed "due to unknown error". Can anyone provide an update on this aged issue? Is there any reason why the app isn't simply included in f-droid's repo if it doesn't have firebase?

@shrimprugbysnowowl commented on GitHub (Aug 9, 2023): This still occurs with v2023.7.0. I removed the repo, updated repositories, closed f-droid, cleared cache, restarted, re-added Bitwarden repo, updated repos, attempted to install Bitwarden, and the installation failed "due to unknown error". Can anyone provide an update on this aged issue? Is there any reason why the app isn't simply included in f-droid's repo if it doesn't have firebase?
Author
Owner

@mpbw2 commented on GitHub (Aug 9, 2023):

@shrimprugbysnowowl Unfortunately I still have no idea what the problem could be. I just did a fresh install of F-Droid 1.17.0 and it installed v2023.7.0 without issue. I'm hoping someone else can provide some insight.

@mpbw2 commented on GitHub (Aug 9, 2023): @shrimprugbysnowowl Unfortunately I still have no idea what the problem could be. I just did a fresh install of F-Droid 1.17.0 and it installed v2023.7.0 without issue. I'm hoping someone else can provide some insight.
Author
Owner

@shrimprugbysnowowl commented on GitHub (Aug 9, 2023):

@mpbw2 , Is there a reason why Bitwarden isn't included in the f-droid repo?

@shrimprugbysnowowl commented on GitHub (Aug 9, 2023): @mpbw2 , Is there a reason why Bitwarden isn't included in the f-droid repo?
Author
Owner

@mpbw2 commented on GitHub (Aug 9, 2023):

@shrimprugbysnowowl I believe it's due to our use of Microsoft frameworks (Xamarin & .NET)

@mpbw2 commented on GitHub (Aug 9, 2023): @shrimprugbysnowowl I believe it's due to our use of Microsoft frameworks (Xamarin & .NET)
Author
Owner

@shrimprugbysnowowl commented on GitHub (Aug 9, 2023):

the signing key we use is unique for the F-Droid build so the F-Droid app can still take "ownership" of it and prompt for updates in the future.

This appears to be a valid workaround for the time being. For those having this issue, you can download the latest release of com.x8bit.bitwarden-fdroid.apk and bw-fdroid-apk-sha256.txt (For those using multiple profiles, download this in the owner profile). Use Termux to verify the checksum. If it checks, install the apk. (It would be nice if these releases were signed. Termux can use gpg, too.) Install as needed for multiple users.

The only caveat is that you can't install bitwarden-fdroid if you have the play store version installed as they are conflicting packages, even in a different user profile.

@shrimprugbysnowowl commented on GitHub (Aug 9, 2023): > the signing key we use is unique for the F-Droid build so the F-Droid app can still take "ownership" of it and prompt for updates in the future. This appears to be a valid workaround for the time being. For those having this issue, you can download the latest release of com.x8bit.bitwarden-fdroid.apk and bw-fdroid-apk-sha256.txt (For those using multiple profiles, download this in the owner profile). Use Termux to verify the checksum. If it checks, install the apk. (It would be nice if these releases were signed. Termux can use gpg, too.) Install as needed for multiple users. The only caveat is that you can't install bitwarden-fdroid if you have the play store version installed as they are conflicting packages, even in a different user profile.
Author
Owner

@emielpopla commented on GitHub (Oct 18, 2023):

The only caveat is that you can't install bitwarden-fdroid if you have the play store version installed as they are conflicting packages, even in a different user profile.

I had the same unknown error issue and this seemed to be what was causing it. I had the play store version installed in my work profile. Simply uninstalling it fixed it for me and I could just install the f-droid version without a problem after that.

@emielpopla commented on GitHub (Oct 18, 2023): > The only caveat is that you can't install bitwarden-fdroid if you have the play store version installed as they are conflicting packages, even in a different user profile. I had the same unknown error issue and this seemed to be what was causing it. I had the play store version installed in my work profile. Simply uninstalling it fixed it for me and I could just install the f-droid version without a problem after that.
Author
Owner

@vvolkgang commented on GitHub (Jun 20, 2024):

Issue migrated to https://github.com/bitwarden/mobile/issues/2187

@vvolkgang commented on GitHub (Jun 20, 2024): Issue migrated to https://github.com/bitwarden/mobile/issues/2187
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#1529