Bug 493943

Summary: Android app crashes immediately on starting
Product: [Applications] kdeconnect Reporter: Iyán Méndez Veiga <me>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: crash CC: 7429c5c9, aleksandarbayrev, andrew.g.r.holmes, b.point.c, baljit_sanghera, cameronmyers687, chandanpanda478, czl92783719, daiajo, deepangad14, driverelectro6700, ekonom1, elijahblake0, frapox, fursumsum, G1337663816, gnome, jke, justin.myers600, kde, kde, kde, kde, kdebugs, kdebugs, kjathome, kylepcondon, mad.scientist, mail, matthew, michal, mike, moamenpm, muellhalde, mully_cap, o.freyermuth, p.r.worrall, philippe.roubach, sangei12, shortyreusser, sp1rit, sranderson, sudhegan, tkk13909, tutul, u359im+45leykikibzdf9ft1o, vamp898, william.f.s.bake, william.full.moon
Priority: VHI    
Version: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Android 14.x   
URL: https://invent.kde.org/network/kdeconnect-android/-/commit/63d1d15c4fb02dadf0a28ad3358150e14970f94d
Latest Commit: Version Fixed In: 1.32.5
Sentry Crash Report:
Attachments: Android crash log

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 2024-10-02 10:38:43 UTC
*** Bug 493953 has been marked as a duplicate of this bug. ***
Comment 6 Filip 2024-10-02 18:42:24 UTC
*** Bug 493985 has been marked as a duplicate of this bug. ***
Comment 7 Filip 2024-10-02 18:44:22 UTC
*** Bug 493983 has been marked as a duplicate of this bug. ***
Comment 8 Filip 2024-10-02 18:45:11 UTC
*** Bug 493958 has been marked as a duplicate of this bug. ***
Comment 9 Filip 2024-10-02 18:49:17 UTC
*** Bug 493961 has been marked as a duplicate of this bug. ***
Comment 10 Filip 2024-10-03 05:58:52 UTC
*** Bug 494006 has been marked as a duplicate of this bug. ***
Comment 11 Filip 2024-10-03 05:59:22 UTC
*** Bug 494009 has been marked as a duplicate of this bug. ***
Comment 12 Filip 2024-10-03 05:59:45 UTC
*** Bug 494016 has been marked as a duplicate of this bug. ***
Comment 13 Filip 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 Applewubs(Jonathan) 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 2024-10-04 14:32:22 UTC
*** Bug 494107 has been marked as a duplicate of this bug. ***
Comment 45 Filip 2024-10-04 14:33:42 UTC
*** Bug 494109 has been marked as a duplicate of this bug. ***
Comment 46 Filip 2024-10-04 14:34:15 UTC
*** Bug 494116 has been marked as a duplicate of this bug. ***
Comment 47 Filip 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 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 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. ***
Comment 59 Iyán Méndez Veiga 2024-10-04 20:57:15 UTC
*** Bug 494136 has been marked as a duplicate of this bug. ***
Comment 60 Tony Green 2024-10-05 07:47:43 UTC
The new version is now available on the Play Store. And I'm pleased to report that it works!
Comment 61 Filip 2024-10-05 14:09:18 UTC
*** Bug 494163 has been marked as a duplicate of this bug. ***
Comment 62 Mike Gerber 2024-10-05 14:10:59 UTC
The new version, installed from Play Store, fixes the issue for me, thanks! 

F-Droid doesn't have it yet, FYI
Comment 63 Filip 2024-10-05 17:08:10 UTC
*** Bug 494172 has been marked as a duplicate of this bug. ***
Comment 64 Filip 2024-10-06 05:45:54 UTC
*** Bug 494189 has been marked as a duplicate of this bug. ***
Comment 65 David 2024-10-06 07:17:32 UTC
The new version is also available now (2024.10.5) on F-Droid.

On 10/4/24 21:47, Tony Green wrote:
> https://bugs.kde.org/show_bug.cgi?id=493943
>
> --- Comment #60 from Tony Green <kde@web-brewer.co.uk> ---
> The new version is now available on the Play Store. And I'm pleased to report
> that it works!
>
Comment 66 Filip 2024-10-08 14:05:17 UTC
*** Bug 494275 has been marked as a duplicate of this bug. ***