Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android application crashes with exception StrongBox security storage is not available. android.security.keystore.StrongBoxUnavailableException: Failed to generate key #598

Open
ashu171093 opened this issue May 25, 2023 · 8 comments

Comments

@ashu171093
Copy link

When try to launch android application getting issue :
StrongBox security storage is not available. android.security.keystore.StrongBoxUnavailableException: Failed to generate key.
Working fine for ios

@ashu171093 ashu171093 changed the title android application crashes whith exception StrongBox security storage is not available. android.security.keystore.StrongBoxUnavailableException: Failed to generate key android application crashes with exception StrongBox security storage is not available. android.security.keystore.StrongBoxUnavailableException: Failed to generate key May 25, 2023
@tj-mc
Copy link

tj-mc commented Apr 2, 2024

Also getting this issue on .73 Android, API 34.
It is preventing our RN upgrade at this time.

@tj-mc
Copy link

tj-mc commented Apr 2, 2024

@ashu171093 I experienced this issue when upgrading from 0.69 to 0.73.
In my case I saw lots of somfile.so not found errors. This pointed me to problems with Facebook "SoLoader".
I followed this comment to bump my SoLoader version, and this error has gone away for me.

facebook/react-native#34143 (comment)

@ashu171093
Copy link
Author

@tj-mc Thanks for response. I will check by implementing latest version on soloader.

@lwin-kyaw
Copy link

Hi @ashu171093, may I know are you able to resolve this issue?

I'm experiencing the same issues on Android (iOS works fine) and the below doesn't resolve my issue.

@ashu171093 I experienced this issue when upgrading from 0.69 to 0.73. In my case I saw lots of somfile.so not found errors. This pointed me to problems with Facebook "SoLoader". I followed this comment to bump my SoLoader version, and this error has gone away for me.

facebook/react-native#34143 (comment)

@bonnmh
Copy link

bonnmh commented Jul 9, 2024

Has the above problem been fixed yet?

@MaratowKyryl
Copy link

Trying to update Android SDK to 34 without updating the react-native version, so I'm currently on rn: 0.67.5. Updating the version of SoLoader helped me, but in my case there was
configurations.all { resolutionStrategy { force "com.facebook.soloader:soloader:0.9.0" } }
part of code in app/build.gradle. I had to update it to 0.10.4.

@ashu171093 I experienced this issue when upgrading from 0.69 to 0.73. In my case I saw lots of somfile.so not found errors. This pointed me to problems with Facebook "SoLoader". I followed this comment to bump my SoLoader version, and this error has gone away for me.

facebook/react-native#34143 (comment)

@ashu171093
Copy link
Author

ashu171093 commented Jul 18, 2024

@lwin-kyaw In my case the issue is due to hermes enable . So for now I set enableHermes to false and rebuild project . Now android app launches without crash

@Waltari10
Copy link

Our project started getting this error with latest keychain version when enabling fabric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants