OpenKeyChain seems to crash in Android 5

OpenKeyChain seems to crash in Android 5

requires Android 4.0.3 or newer.


Both during key making and after pressing the skip setup.

This problem exists in all recent versions

6.0.4 crashes too? Which issue is this: Issues · open-keychain/open-keychain · GitHub ?

Yep

org.sufficientlysecure.keychain_60000

org.sufficientlysecure.keychain_60200

org.sufficientlysecure.keychain_60400

only this version worked
org.sufficientlysecure.keychain_58902

1 Like

great, thanks for tracking it, now, with this information and more details about your system, search (first) or open an issue upstream: Issues · open-keychain/open-keychain · GitHub

1 Like

I’m afraid I won’t be able to do that because I’m not a member of github,
maybe its codes doesn’t support android 4 and 5 anymore since this version:
org.sufficientlysecure.keychain_60000
Because the problem seems to have started from this version

Usually there are four types of Architecture
arm64-v8a
armeabi-v7a
x86
x86_64

The device I used was this one
armeabi-v7a

can you at least get a stack trace? via ADB or Scoop | F-Droid - Free and Open Source Android App Repository

I don’t think there is a need for it. Probably the source of the problem is the json file.
kotlin-tooling-metadata.json
If you check, this file was added from version
org.sufficientlysecure.keychain_60000

Exactly the crash started from the same version, (I faced the same problem in the outline application before) Probably the json file (and other things around it) causes the application to crash.

Therefore, I do not recommend using the json file in any application, Especially if it is supposed to be for Android 4 or 5.
Which was actually the case in this application.

There were 193 changed files between 5.8.2 and 6.0.0: Comparing v5.8.2...v6.0.0 · open-keychain/open-keychain · GitHub

so saying that “Probably the source of the problem is the json file.” when that file is just common when using Kotlin to build an app is rather odd.

again, please grab an actual stack trace of the app crashing so we can ask the developers to investigate

Or
You can just go ahead and increase the Android requirement
(crash on 5.1 too)

attach that stack trace log already…

We are not the developers of that app

Latest 6.0.4 still crashes?

I have not faced any crash thankfully.