HeliBoard
HeliBoard copied to clipboard
Crash on startup after upgrading from v2.x to 3.x
When I upgraded from latest v2.x version to 3.x (any version), the app became unusable on my Huawei EMUI 12 device, because it crashes on launch every time. Only reinstallation fixes it, but i'd lose all my data.
FATAL EXCEPTION: main
Process: helium314.keyboard, PID: xxx
java.lang.RuntimeException: Unable to create application helium314.keyboard.latin.App: java.util.NoSuchElementException: Collection contains no element matching the predicate.
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7608)
at android.app.ActivityThread.access$2600(ActivityThread.java:260)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8668)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
Caused by: java.util.NoSuchElementException: Collection contains no element matching the predicate.
at helium314.keyboard.latin.AppKt$$ExternalSyntheticLambda0.invoke(SourceFile:361)
at kotlin.uuid.UuidKt.appendElement(Unknown Source:3)
at kotlin.collections.CollectionsKt.joinTo(Unknown Source:31)
at kotlin.collections.CollectionsKt.joinToString$default(Unknown Source:48)
at helium314.keyboard.latin.AppKt.checkVersionUpgrade(SourceFile:366)
at helium314.keyboard.latin.App.onCreate(SourceFile:212)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1202)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7588)
... 8 more
Your stacktrace unformtunately doesn't include the correct line numbers for some reason. So best I can do is roughly guess where in the file the crash happens.
Do you still have 2.3 available so you can change settings? It might work when you disable all keyboards in languages & layouts screen.