mirror of
https://github.com/bitwarden/android.git
synced 2026-03-16 17:14:25 -05:00
Android app force closes on start #182
Closed
opened 2025-11-07 08:30:11 -06:00 by GiteaMirror
·
37 comments
No Branch/Tag Specified
main
sdlc/sdk-update
PM-33160-local-user-key
PM-25654-preview-attachment
premium-upgrade/PM-33510-billing-manager
cx/gms-core-version-check
llm/add-resolving-sdk-updates-skill
premium-upgrade/PM-33509-billing-repository
premium-upgrade/PM-33508-billing-api-service
PM-33553/remove-why-am-i-seeing-this
PM-30130-remove-archive-feature-flag
tooling/improve-review-workflow
QA-1523/sanity-test-saucelabs
release/2026.3-rc48
PM-24380/flight-recorder-redact-hostname
PM-26577-app-links-support
PM-26896-autofill-fix
release/2026.2-rc47
PM-32714/fallback-to-web-vault-host
pr-6572
PM-28834/setting-app-layout-horizonos
vvolkgang/process-release-notes-v2
release/2026.2-rc46
release/2026.1-rc45
PM-30644/added-logs-for-debug
PM-30644/quicktile-nav-not-showing-migration
minor-gradle-updates
release/2026.1-rc42
release/2026.1-rc44
release/2026.1-rc43
PM-28834/set-landscape-on-horizonos-devices
context-rules
devclarity/update-code-review-command
PM-20026/force-ltr-passwords-and-codes
release/2025.12-rc41
cmcg/testCoverage
PM-29014/talkback-support-for-passwords
release/2025.12-rc40
BRE-1305/publish_test
accept-user-certs
autofill-permissions
release/2025.11-rc39
PM-22479/check-all-certificates-validate-asset-links
release/2025.10-rc38
agalles/android-latest
optimize-test-workflows
tier2-test-sharding
retro-agent
PM-27001/skip-account-selection-only-one-exists-cxp
release/2025.10-rc37
agalles/test-1118
release/2025.10-rc36
PM-20593-token-refresh
QA-1126b/adding-native-sanity-test
release/2025.9-rc35
pm-25933/sdk-update-password
release/2025.9-rc34
release/2025.8-rc33
agalles/20250821-release
debug-release-issues
pm-24249-allow-automated-prs-for-sdk-updates
release/2025.8-rc32
release/WORKFLOW-TEST-2025.8-rc28
agalles/20250807release
release/2025.07-rc25
release/hotfix-v2025.7.0-bwa
pm-23311/export-vault-policy-bypass
release/2025.07-rc24
authenticator-pm-sync-flags-issue
ps/implement-sdk-repository-example
release/hotfix-v2025.6.0-bwpm
release/2025.06-rc21
agalles/automate-android-fastlane-patch
release/2025.05-rc20
release/2025.04-rc19
languages/basque
release/2025.03-rc19
update-readme
qrcode/feature
innovation/archive/pm-19153-archive-items
qrcode/2-ui-fields
qrcode/1-page
hold-on-biometric-prompt-alternative
release-notes-process
release/2025.02-rc16
bwa-monorepo
PM-8223/new-device-verification-ux-improvements
pm-18451/exempt-from-policies
test-bwa
cs-workaround-linked-0-copy
release/2025.01-rc15
release/2025.01-rc14
release/2024.12-rc13
pm-16670/sync-leave-notice
821
PM-16695/backport-lean-more-new-device-verification
km/15084-testing
release/hotfix-v2024.11.7
release/2024.11-rc1
pm-11304/collection-add-item-button
PM-14241/disabling-logs-app-crash
poc/offline-editing
new-version-calc
pm-11649/expired-link-services
pm-6702/add-feature-flag
pm-6702/email-verification-feature
pm-9933/marketing-copy-update
pm-6702/registration-flows
update-templates
pm-6701/email-verification-selfhost-registration
v2026.2.1-bwpm
v2026.2.1-bwa
v2026.2.0-bwpm
v2026.2.0-bwa
v2026.1.1-bwa
v2026.1.1-bwpm
temp-test
v2026.1.0-bwpm
v2026.1.0-bwa
v2025.12.1-bwa
v2025.12.1-bwpm
v2025.12.0-bwa
v2025.12.0-bwpm
v2025.11.1-bwpm
v2025.11.1-bwa
v2025.11.0-bwpm
v2025.11.0-bwa
v2025.10.1-bwa
v2025.10.1-bwpm
v2025.10.0-bwa
v2025.10.0-bwpm
v2025.9.1-bwa
v2025.9.1-bwpm
v2025.9.0-bwa
v2025.9.0-bwpm
v2025.8.1-bwa
v2025.8.1-bwpm
v2025.8.0-bwa
v2025.8.0-bwpm
v2025.7.2-bwa
v2025.7.2-bwpm
v2025.7.1-bwa
v2025.7.1-bwpm
v2025.7.0-bwa
v2025.7.0-bwpm
v2025.6.1-bwpm
v2025.6.0-bwa
v2025.6.0-bwpm
v2025.1.0-bwa
v2025.5.0-bwa
v2025.5.0-bwpm
v2025.5.999
2025.4.0
v2025.4.0
untagged-4731eaadac73f3dfbbb8
v2025.3.0
v2025.2.0
untagged-815a165c5d70ffe75bc7
v2025.1.2
v2025.1.1
v2025.1.0
v2024.12.0
untagged-5a76b6392a4c8998c63a
v2024.11.7
v2024.11.6
v2024.11.5
v2024.11.4
v2024.11.3
v2024.11.2
v2024.11.1
v2024.11.0
v2024.10.2
v2024.10.1
v2024.10.0
v2024.9.0
v2024.8.1
v2024.8.0
v2024.7.3
v2024.7.2
v2024.7.1
v2024.7.0
v2024.6.1
v2024.6.0
v2024.5.1
v2024.4.1
v2024.4.2
v2024.4.0
v2024.3.3
v2024.3.1
v2024.3.0
v2024.2.1
v2024.2.0
v2024.1.1
v2024.1.0
v2023.12.0
v2023.10.0
v2023.9.2
maui-single-project-android
v2023.9.1
v2023.9.0
v2023.8.0
v2023.7.0
v2023.5.0
v2023.4.0
v2023.3.2
v2023.3.1
v2023.3.0
v2023.2.0
v2023.1.0
v2022.11.0
v2022.10.0
v2022.9.1
v2022.9.0
v2022.8.0
v2022.6.2
v2022.6.1
v2022.6.0
v2022.05.0
v2.18.0
v2.17.0
v2.16.4
v2.16.3
v2.16.2
v2.16.1
v2.15.0
v2.14.2
v2.14.1
v2.14.0
v2.13.0
v2.12.0
v2.11.3
v2.11.2
v2.11.1
v2.11.0
v2.10.0
v2.9.1
v2.9.0
v2.8.2
v2.8.1
v2.8.0
v2.7.2
v2.7.0
v2.6.1
v2.6.0
v2.5.6
v.2.5.5
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.1
v2.3.0
v2.2.8
v2.2.7
v2.2.6
v2.2.2
v2.2.1
v2.2.0
v2.1.2
v2.1.0
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v1.22.1
v1.22.0
v1.21.0
v1.20.0
v1.19.0
v1.18.1
v1.18.0
v1.17.0
v1.16.0
v1.15.2
v1.15.1
v1.15.0
v1.14.4
v1.14.1
v1.14.0
v1.13.0
v1.12.2
v1.12.1
v1.12.0
v1.11.1
v1.11.0
v1.10.0
v1.9.0
v1.8.1
v1.8.0
v1.7.0
v1.6.5
v1.6.1
v1.6.0
v1.5.1
v1.5.0
v1.4.4
v1.4.3
v1.4.0
v1.3.0
v1.2.1
v1.2.0
v1.1.0
v1.0.0
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/android#182
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @famewolf on GitHub (Jan 24, 2018).
Logcat attached. Device is a Leeco Le Pro 3. Error has occured on Omnirom, AICP and Paranoid Android for this device. (7.x Nougat) Fresh install. Using OpenGapps.
logcat.txt
@kspearrin commented on GitHub (Jan 24, 2018):
Namely
This is the error. For some reason that device doesn't work with the Android Keystore. Any idea why?
@famewolf commented on GitHub (Jan 24, 2018):
Other than the fact it's a no name phone no idea. Ironically I got it to work one time then could never recreate it so I know it CAN be done but not what was different. Do we perhaps need different lines in build.prop to tell it a different device?
@mzarglis commented on GitHub (Jan 24, 2018):
Same issue here.....really sucks as i use the mobile app a lot. same device leeco le pro 3
@famewolf commented on GitHub (Jan 24, 2018):
Which Rom are you on mzarglis? Factory?
@mzarglis commented on GitHub (Jan 24, 2018):
AICP 13.1 (8.1.x)
@famewolf commented on GitHub (Jan 26, 2018):
I'm updating this because a user running the same rom was able to use the app...the two main differences were I was on opengapps mini and they were on opengapps stock. I also had magisk v15.3 installed. I flashed the same rom along with opengapps mini and it still crashed eliminating magisk. I'm now downloading opengapps "stock" to see if that resolves the issue.
@kspearrin commented on GitHub (Jan 26, 2018):
We've also seen this same problem on some older Samsung Devices (Galaxy S3 and S4). It's still known why those do not work with Android Keystore either, but I've found several cases documented online by others also confirming the problem.
@famewolf commented on GitHub (Jan 26, 2018):
A clean install of AICP 12.1 rom (7.x) is able to install and run the bitwarden mobile app. It is the only rom I found that could do so among various I tried with both nougat and oreo bases. I have no idea what is significant.
@mzarglis commented on GitHub (Jan 26, 2018):
yeah it worked for me on AICP 12.1 before i upgraded to 13.1
@famewolf commented on GitHub (Jan 29, 2018):
I tried bitwarden on an Android Oreo Rom available for this device and got an identical abend. On the off chance it was a different error or explained better I've attached a logcat.txt from THAT rom.
logcat.txt
@kspearrin commented on GitHub (Jan 29, 2018):
@famewolf It's the same exception with the Android Keystore.
@famewolf commented on GitHub (Jan 29, 2018):
I've reported the issue to a couple of our Rom developers but not sure what priority it is with them since they don't use bitwarden. If I reflashed AICP 12.1 where it works is there anything I could do that would help identify whats different about it against the other 7 rom's I tried?
@kspearrin commented on GitHub (Jan 29, 2018):
Just share the above exception with them that occurs when trying to use the Android Keystore.
@famewolf commented on GitHub (Jan 29, 2018):
I did and even linked to this ticket but most don't seem to consider it a high priority item since none of them use bitwarden and no other apps seem to have the same problem. For example lastpass works as expected. I appreciate all the time you took looking at this. Wish I could think of something to help resolve the issue.
@janos-szenfner commented on GitHub (Feb 20, 2018):
Same issue on Miui 9 with Android 7.0.
@jaylittle commented on GitHub (Mar 3, 2018):
I'm experiencing this issue on a LeEco LePro 3 X727 with LineageOS 15.1 cleanly installed. Note: I do not install Google Play Services nor do I have any intention of doing so. FWIW, Bitwarden's mobile app worked just fine on the same phone with LineageOS 14.1 without Google Play Services.
@famewolf commented on GitHub (Mar 12, 2018):
I am on the 03/05 LeEco LePro 3 X727 with LineageOS 15.1 release which is the most recent official release. Bitwarden runs fine here so it does appear to be rom specific. I do have Google Play Services installed. (and did when I originally posted this issue)
@jaylittle commented on GitHub (Mar 12, 2018):
@famewolf We literally have the same setup except you have Google Play Services and I don't. Interesting. FWIW, Bitwarden still crashes on launch for me with the 3/5 build.
@esaavedra89 commented on GitHub (May 25, 2018):
Some update of the issue or solution?
@jaylittle commented on GitHub (May 25, 2018):
Still happening for me even with the latest APK of the Bitwarden App from APKPure.
@famewolf commented on GitHub (May 26, 2018):
Not really much of an update but I switched to LineageOS 15.1 for the LeEco Le Pro 3 as well as opengapps mini and the issue went away. Opengapps mini was needed for google camera to work. Beangapps did NOT work so it's possible it also had something bitwarden needed. Might be worth testing. I eventually had settled on just using lastpass becuase of the hotkeys to use default form profile as well as ability to add credit cards and select which one to fill. Was "clumsier" in bitwarden. I'll re-evaluate farther down the line.
@mzarglis commented on GitHub (May 26, 2018):
The issue has been resolved for me as well since upgrading to AICP 13.1, now that i think of it i think i was using beangapps aswell and have since switched to opengapps.
But anyways no more force closes on my leeco le pro 3 on latest AICP 13.1 nightly with latest opengapps
@jaylittle commented on GitHub (May 26, 2018):
The Bitwarden Android app shouldn't require Google Play Services (opengapps) to be present on an Android device and it appears that based on the other posts in this thread, it now requires exactly that. This is a disturbing trend that I hope will be reversed in short order.
@kspearrin commented on GitHub (May 26, 2018):
Play services is not required to run the app. We can run the app in a simulator without google apps and it works fine. There is also an f droid version if the app available in the releases page which doesn’t have any google play service libraries in it.
@jaylittle commented on GitHub (May 29, 2018):
So I did some digging after looking at the code for this and stumbled upon this issue:
https://github.com/iamMehedi/Secured-Preference-Store/issues/15
It looks like somebody suggested removing the start and end dates from the keystore and somebody at the end confirmed that this resolved their very similar issue. I notice the bitwarden code seems to be setting both of them. Might this change be worth a shot?
@jaylittle commented on GitHub (May 29, 2018):
Also, I found the PR that was merged to deal with the issue on their end. Looks like a pretty simple set of changes... I'd do it myself, but I don't have a proper build environment setup (Windows + Visual Studio) to do and test the work myself.
https://github.com/iamMehedi/Secured-Preference-Store/pull/27
@kspearrin commented on GitHub (May 29, 2018):
I created a build them them removed:
14d1d132a3Our CI system is having issues at the moment so I can't provide a apk yet. Will be available here when that starts working: https://ci.appveyor.com/project/bitwarden/mobile/build/artifacts
@kspearrin commented on GitHub (May 31, 2018):
@jaylittle You can try the apk here now: https://ci.appveyor.com/project/bitwarden/mobile/build/artifacts
@jaylittle commented on GitHub (May 31, 2018):
Wow. That worked. Using that fdroid apk, I was finally able to actually use BitWarden on my LeEco LePro 3 phone with Lineage OS 15.1 sans Google Play Services for the very first time. Thank you! Hopefully others in this thread can confirm this fix as well and experience some relief.
@kspearrin commented on GitHub (Jun 4, 2018):
This is pushed to the latest play store beta. Will go out in the next version.
@SamuelGeiger commented on GitHub (Jun 27, 2018):
This issue is not resolved. I try to use the app on a Sony xperia z1 with the latest stock rom and it crashes every time on Startup. I don't have my phone rooted so I don't now how to obtain any logs. I did send two crash reports.
@mjarsenault commented on GitHub (Jan 16, 2019):
Has there been a fix for this yet? I'm on a Le Eco Pro 3 with the latest AICP 14.0 ROM installed, and Bitwarden wont even open.
I'd really love to use it but won't be able to without it working on my phone!
@kspearrin commented on GitHub (Jan 16, 2019):
@mjarsenault Do you have at logs available from the phone?
@mjarsenault commented on GitHub (Jan 16, 2019):
(I hope I did this right)
@famewolf commented on GitHub (Jan 16, 2019):
On the Leeco Pro 3, the problem appears to be some of the Rom's available. For example Lineage 15.1 does not give the error nor does the latest AICP as far as I know. You seem to be on an older version? Try one of the ones with Oreo or Pie and the problem should go away. I personally run Lineage 15.1 (and am looking at Lineage 16..given you'll have to do a clean install to jump a version you might as well go all the way to pie) on my LeEco Pro 3.
@mjarsenault commented on GitHub (Jan 16, 2019):
I'm on the January 10th (latest) release of AICP 14.0, which is a Pie ROM.
@famewolf commented on GitHub (Jan 16, 2019):
Interesting. Well obviously something has changed then because I recall reading earlier users on AICP saying it was working at the time...perhaps it worked on AICP Oreo and doesn't work on pie. Perhaps you can point out the issue to the rom developer and indicate the app DOES work on Lineage15.1. It's possible he can find out what the issue is. I would also perhaps try a couple of different gapps versions (I'm on opengapps mini).
Realistically there is not much the bitwarden guys can do since on factory rom's the app will work as it should and the problem appears to be specific to custom roms/versions. (sadly ALL our rom's are considered custom since the manufacturer abandoned support back when it was on marshmallow..it's still a heck of a device and the price for me was hard to beat)