Android app crash [Root][MicroG] #345

Closed
opened 2025-11-07 08:36:25 -06:00 by GiteaMirror · 10 comments
Owner

Originally created by @Nickdv9 on GitHub (Feb 18, 2019).

So I've been facing this a lot lately. I use a rooted android device running android 9.0 and I'm currently using MicroG instead of gapps. App was working fine for a while but lately its been crashing a lot. After re-installing the app, it works fine for a day or two and starts crashing again. I'll be attaching logs below. Please, do have a look at it.
bitwarden.txt

Originally created by @Nickdv9 on GitHub (Feb 18, 2019). So I've been facing this a lot lately. I use a rooted android device running android 9.0 and I'm currently using MicroG instead of gapps. App was working fine for a while but lately its been crashing a lot. After re-installing the app, it works fine for a day or two and starts crashing again. I'll be attaching logs below. Please, do have a look at it. [bitwarden.txt](https://github.com/bitwarden/mobile/files/2874892/bitwarden.txt)
Author
Owner

@kspearrin commented on GitHub (Feb 18, 2019):

02-18 14:43:55.404 I/MonoDroid(17042): UNHANDLED EXCEPTION:
02-18 14:43:55.409 I/MonoDroid(17042): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The configuration is invalid. Creating the instance for type ISecureStorageService failed. Failed to obtain information about key ---> SimpleInjector.ActivationException: Failed to obtain information about key ---> Java.Security.GeneralSecurityException: Failed to obtain information about key ---> Java.Lang.Exception: Key not yet valid

Looks like, for whatever reason, your device is losing the ability to access the Bitwarden encryption key from the Android keystore.

@kspearrin commented on GitHub (Feb 18, 2019): > 02-18 14:43:55.404 I/MonoDroid(17042): UNHANDLED EXCEPTION: > 02-18 14:43:55.409 I/MonoDroid(17042): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The configuration is invalid. Creating the instance for type ISecureStorageService failed. Failed to obtain information about key ---> SimpleInjector.ActivationException: Failed to obtain information about key ---> Java.Security.GeneralSecurityException: Failed to obtain information about key ---> Java.Lang.Exception: Key not yet valid Looks like, for whatever reason, your device is losing the ability to access the Bitwarden encryption key from the Android keystore.
Author
Owner

@Nickdv9 commented on GitHub (Feb 18, 2019):

@kspearrin what I don't understand is how it can access the keys initially and then after a while it fails to do so. Do you suggest me trying anything in particular? This happens like after every 1 or 2 days after re-installing the app.

@Nickdv9 commented on GitHub (Feb 18, 2019): @kspearrin what I don't understand is how it can access the keys initially and then after a while it fails to do so. Do you suggest me trying anything in particular? This happens like after every 1 or 2 days after re-installing the app.
Author
Owner

@kspearrin commented on GitHub (Feb 18, 2019):

I am not sure either. Does your device have a PIN or fingerprint setup to unlock it?

@kspearrin commented on GitHub (Feb 18, 2019): I am not sure either. Does your device have a PIN or fingerprint setup to unlock it?
Author
Owner

@Nickdv9 commented on GitHub (Feb 18, 2019):

@kspearrin yes, I do have two fingerprints setup with a password

@Nickdv9 commented on GitHub (Feb 18, 2019): @kspearrin yes, I do have two fingerprints setup with a password
Author
Owner

@lys79 commented on GitHub (Mar 2, 2019):

Same problem for me. Crashes 5 times per day on android 9.0. Drains a lot the battery in the same time 😕

@lys79 commented on GitHub (Mar 2, 2019): Same problem for me. Crashes 5 times per day on android 9.0. Drains a lot the battery in the same time 😕
Author
Owner

@kspearrin commented on GitHub (Jun 4, 2019):

Can you try v2.0 from play store beta?

@kspearrin commented on GitHub (Jun 4, 2019): Can you try v2.0 from play store beta?
Author
Owner

@atoponce commented on GitHub (Jun 25, 2019):

Came looking for an issue of the Android app crashing. The app always crashes when attempting to add a login entry, either in a specific folder, or "No Folder". I've tried various combinations of data (no username, no password, no URI, etc.) to no effect. I cannot add any login entries. Doesn't matter if I use the fingerprint to unlock, or the master password. I can create a new issue, if needed.

Stock Android 9 on a Pixel 3 XL, with the June 5, 2019 security patch update, no root. Bitwarden 2.0.6 (1938).

EDITED TO ADD: It appears I couldn't sync either, even though I could elsewhere, and the state of the account seemed fine. Stopping the Android app, deleting the local cache and stored app data, uninstalling the app, reinstalling, then logging back in, everything is good. Somehow, it got in a bad state, and I don't know how.

@atoponce commented on GitHub (Jun 25, 2019): Came looking for an issue of the Android app crashing. The app always crashes when attempting to add a login entry, either in a specific folder, or "No Folder". I've tried various combinations of data (no username, no password, no URI, etc.) to no effect. I cannot add any login entries. Doesn't matter if I use the fingerprint to unlock, or the master password. I can create a new issue, if needed. Stock Android 9 on a Pixel 3 XL, with the June 5, 2019 security patch update, no root. Bitwarden 2.0.6 (1938). **EDITED TO ADD**: It appears I couldn't sync either, even though I could elsewhere, and the state of the account seemed fine. Stopping the Android app, deleting the local cache and stored app data, uninstalling the app, reinstalling, then logging back in, everything is good. Somehow, it got in a bad state, and I don't know how.
Author
Owner

@Aidenir commented on GitHub (Jul 4, 2019):

Came here looking for answers, just got a new galaxy s10e, out of the box, when I sign in the app crashes. Have tried enabling all permissions and accessibility service, still no dice.

@Aidenir commented on GitHub (Jul 4, 2019): Came here looking for answers, just got a new galaxy s10e, out of the box, when I sign in the app crashes. Have tried enabling all permissions and accessibility service, still no dice.
Author
Owner

@ilovejs commented on GitHub (Feb 23, 2020):

rewrite this app

@ilovejs commented on GitHub (Feb 23, 2020): rewrite this app
Author
Owner

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

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

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

No dependencies set.

Reference: github-starred/android#345