Bug 493943 - Android app crashes immediately on starting
Summary: Android app crashes immediately on starting
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 14.x
: VHI crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL: https://invent.kde.org/network/kdecon...
Keywords:
: 488959 493953 493958 493961 493983 494006 494009 494016 494021 494022 494024 494026 494027 494028 494030 494035 494037 494039 494042 494047 494060 494064 494068 494070 494074 494084 494085 494087 494091 494092 494107 494109 494112 494113 494116 494117 494126 494131 494133 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-01 20:29 UTC by Iyán Méndez Veiga
Modified: 2024-10-04 18:23 UTC (History)
44 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.32.5
Sentry Crash Report:


Attachments
Android crash log (2.57 KB, text/plain)
2024-10-01 20:29 UTC, Iyán Méndez Veiga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iyán Méndez Veiga 2024-10-01 20:29:39 UTC
Created attachment 174307 [details]
Android crash log

SUMMARY
I just got an update to 1.32.4 via Google Play, and the app does not even start, it crashes immediately. Something is very wrong with this last release.

STEPS TO REPRODUCE
1. Try to open app

OBSERVED RESULT
App does not start

EXPECTED RESULT
Best Android app running happily again :)

SOFTWARE/OS VERSIONS
Google Play: 1.32.4
Comment 1 Iyán Méndez Veiga 2024-10-01 21:23:15 UTC
Probably this commit https://invent.kde.org/network/kdeconnect-android/-/commit/283956c10767b9313919af29e3029691c572a616 is the culprit.
Comment 2 Thomas Braun 2024-10-01 22:31:22 UTC
Had the same behaviour. A restart of the mobile was necessary. Now the app starts but won't find the KDE Session.
Comment 3 Albert Vaca Cintora 2024-10-02 05:59:04 UTC
Indeed the above commit broke the app on Android 14+, this should fix it: https://invent.kde.org/network/kdeconnect-android/-/commit/63d1d15c4fb02dadf0a28ad3358150e14970f94d

I'm going to make a new release with the fix.
Comment 4 Iyán Méndez Veiga 2024-10-02 06:00:50 UTC
Thanks for the quick fix Albert ;)
Comment 5 filip.kendes1 2024-10-02 10:38:43 UTC
*** Bug 493953 has been marked as a duplicate of this bug. ***
Comment 6 filip.kendes1 2024-10-02 18:42:24 UTC
*** Bug 493985 has been marked as a duplicate of this bug. ***
Comment 7 filip.kendes1 2024-10-02 18:44:22 UTC
*** Bug 493983 has been marked as a duplicate of this bug. ***
Comment 8 filip.kendes1 2024-10-02 18:45:11 UTC
*** Bug 493958 has been marked as a duplicate of this bug. ***
Comment 9 filip.kendes1 2024-10-02 18:49:17 UTC
*** Bug 493961 has been marked as a duplicate of this bug. ***
Comment 10 filip.kendes1 2024-10-03 05:58:52 UTC
*** Bug 494006 has been marked as a duplicate of this bug. ***
Comment 11 filip.kendes1 2024-10-03 05:59:22 UTC
*** Bug 494009 has been marked as a duplicate of this bug. ***
Comment 12 filip.kendes1 2024-10-03 05:59:45 UTC
*** Bug 494016 has been marked as a duplicate of this bug. ***
Comment 13 filip.kendes1 2024-10-03 06:00:05 UTC
*** Bug 493958 has been marked as a duplicate of this bug. ***
Comment 14 Iyán Méndez Veiga 2024-10-03 14:00:47 UTC
*** Bug 494030 has been marked as a duplicate of this bug. ***
Comment 15 Iyán Méndez Veiga 2024-10-03 14:01:13 UTC
*** Bug 494027 has been marked as a duplicate of this bug. ***
Comment 16 Iyán Méndez Veiga 2024-10-03 14:01:35 UTC
*** Bug 494021 has been marked as a duplicate of this bug. ***
Comment 17 Iyán Méndez Veiga 2024-10-03 14:02:42 UTC
*** Bug 494022 has been marked as a duplicate of this bug. ***
Comment 18 Iyán Méndez Veiga 2024-10-03 14:03:28 UTC
*** Bug 494024 has been marked as a duplicate of this bug. ***
Comment 19 Iyán Méndez Veiga 2024-10-03 14:05:47 UTC
*** Bug 494028 has been marked as a duplicate of this bug. ***
Comment 20 Iyán Méndez Veiga 2024-10-03 14:14:35 UTC
How long does it take normally for Google to distribute the update in Google Play? Almost all people with recent smartphones are affected by this issue and creating duplicated reports or leaving bad reviews in the app store :(

Also, I just checked and F-Droid also still didn't receive the update either. Is there some alternative place where users could get an updated apk package?
Comment 21 Iyán Méndez Veiga 2024-10-03 14:17:26 UTC
*** Bug 494035 has been marked as a duplicate of this bug. ***
Comment 22 Iyán Méndez Veiga 2024-10-03 14:43:29 UTC
*** Bug 494035 has been marked as a duplicate of this bug. ***
Comment 23 Mike Gerber 2024-10-03 14:53:47 UTC
*** Bug 494037 has been marked as a duplicate of this bug. ***
Comment 24 Mike Gerber 2024-10-03 14:58:14 UTC
(F-Droid 1.32.3 seems to be behind even Play Store 1.32.4)
Comment 25 Tony Green 2024-10-03 15:00:12 UTC
(In reply to Iyán Méndez Veiga from comment #20)
> How long does it take normally for Google to distribute the update in Google
> Play? 

From my experience with my own apps, it can sometimes take a few days. It seems very rare that an update goes out quickly, though I think there's a degree of random luck about it. I suspect that given the sort of permissions KDEConnect has, it may get more intensively checked.

And then, unfortunately, there's the question of how quickly people's devices pick it up. Looking at the Play Store listing, my guess is that you pushed the last APK out on September 28th. My 'phone only got updated with it yesterday, so you may be looking at a delay of something like four days.
Comment 26 Iyán Méndez Veiga 2024-10-03 15:25:53 UTC
*** Bug 494039 has been marked as a duplicate of this bug. ***
Comment 27 Iyán Méndez Veiga 2024-10-03 15:53:36 UTC
*** Bug 494042 has been marked as a duplicate of this bug. ***
Comment 28 Iyán Méndez Veiga 2024-10-03 16:33:53 UTC
*** Bug 494047 has been marked as a duplicate of this bug. ***
Comment 29 Jonathan Osiel Hernandez Escobedo 2024-10-03 17:12:14 UTC
TEMPORAL FIX: Disable keyboard entry on both devices then disable "Receive remote keypresses" and "Remote Input" plugins, after that the app will stop the crashing.
Comment 30 Iyán Méndez Veiga 2024-10-03 19:23:45 UTC
*** Bug 494060 has been marked as a duplicate of this bug. ***
Comment 31 Iyán Méndez Veiga 2024-10-03 19:24:25 UTC
*** Bug 494064 has been marked as a duplicate of this bug. ***
Comment 32 Iyán Méndez Veiga 2024-10-03 19:34:41 UTC
*** Bug 494026 has been marked as a duplicate of this bug. ***
Comment 33 Iyán Méndez Veiga 2024-10-03 21:53:12 UTC
*** Bug 494068 has been marked as a duplicate of this bug. ***
Comment 34 Iyán Méndez Veiga 2024-10-04 05:36:14 UTC
*** Bug 488959 has been marked as a duplicate of this bug. ***
Comment 35 Iyán Méndez Veiga 2024-10-04 05:36:34 UTC
*** Bug 494085 has been marked as a duplicate of this bug. ***
Comment 36 Iyán Méndez Veiga 2024-10-04 05:36:55 UTC
*** Bug 494070 has been marked as a duplicate of this bug. ***
Comment 37 Iyán Méndez Veiga 2024-10-04 05:37:14 UTC
*** Bug 494074 has been marked as a duplicate of this bug. ***
Comment 38 Iyán Méndez Veiga 2024-10-04 05:37:41 UTC
*** Bug 494084 has been marked as a duplicate of this bug. ***
Comment 39 Iyán Méndez Veiga 2024-10-04 05:37:57 UTC
*** Bug 494087 has been marked as a duplicate of this bug. ***
Comment 40 chandanpanda478 2024-10-04 05:45:10 UTC
I was just a second away from reposting this bug. Thank god i'm not the only one. if it helps in any way, here's a logcat of the crash.

https://paste.crdroid.net/kGVP8v
Comment 41 Iyán Méndez Veiga 2024-10-04 07:33:49 UTC
*** Bug 494091 has been marked as a duplicate of this bug. ***
Comment 42 Iyán Méndez Veiga 2024-10-04 08:23:46 UTC
*** Bug 494092 has been marked as a duplicate of this bug. ***
Comment 43 Philippe ROUBACH 2024-10-04 11:24:26 UTC
V 1.32.2 (Sep 12, 2024) from F-Droid store runs well.

The problem begins with 1.32.3
Comment 44 filip.kendes1 2024-10-04 14:32:22 UTC
*** Bug 494107 has been marked as a duplicate of this bug. ***
Comment 45 filip.kendes1 2024-10-04 14:33:42 UTC
*** Bug 494109 has been marked as a duplicate of this bug. ***
Comment 46 filip.kendes1 2024-10-04 14:34:15 UTC
*** Bug 494116 has been marked as a duplicate of this bug. ***
Comment 47 filip.kendes1 2024-10-04 14:35:13 UTC
*** Bug 494113 has been marked as a duplicate of this bug. ***
Comment 48 sudhegan 2024-10-04 14:38:51 UTC
it crashes only when connected to devices, if no device is connected it doesn't crash,

android app version 1.32.3 ( installed from f-droid)
Comment 49 Vamp898 2024-10-04 14:42:47 UTC
Updated to 1.32.3 today, app no longer works.

When i delete data, it works until i pair. Pairing works on the Desktop, but has no effect on the Smartphone, it still says not paired and crashed shorty after and can no longer be opened afterwards (instant crash)
Comment 50 Iyán Méndez Veiga 2024-10-04 14:50:34 UTC
*** Bug 494112 has been marked as a duplicate of this bug. ***
Comment 51 Iyán Méndez Veiga 2024-10-04 14:51:25 UTC
*** Bug 494113 has been marked as a duplicate of this bug. ***
Comment 52 Iyán Méndez Veiga 2024-10-04 15:00:02 UTC
For all, and sudhegan@gmail.com in particular: This issues has been fixed in version 1.32.5 (check the link to the patch above in the comments from Albert some days ago) , that is why this is marked as solved. But this version is still not available in the usual app stores (Google Play and F-Droid). It takes some days since the new version is uploaded until it gets approved by Google and is distributed to everyone.
Comment 53 Vamp898 2024-10-04 15:26:54 UTC
Thanks for the fast reply!

I assume it won't land in the KDE Android Release Builds Repository for F-Droid to get it faster?
Comment 54 filip.kendes1 2024-10-04 15:28:10 UTC
*** Bug 494117 has been marked as a duplicate of this bug. ***
Comment 55 Francesco 2024-10-04 17:48:33 UTC
(In reply to Jonathan Osiel Hernandez Escobedo from comment #29)
> TEMPORAL FIX: Disable keyboard entry on both devices then disable "Receive
> remote keypresses" and "Remote Input" plugins, after that the app will stop
> the crashing.

This worked for me as a temporary workaround. Thanks.
Comment 56 Iyán Méndez Veiga 2024-10-04 17:53:25 UTC
*** Bug 494126 has been marked as a duplicate of this bug. ***
Comment 57 filip.kendes1 2024-10-04 18:18:43 UTC
*** Bug 494133 has been marked as a duplicate of this bug. ***
Comment 58 Iyán Méndez Veiga 2024-10-04 18:23:44 UTC
*** Bug 494131 has been marked as a duplicate of this bug. ***