Bug 493796 - KDE Connect Android App Crashes on Android 8
Summary: KDE Connect Android App Crashes on Android 8
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 8.x
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-28 21:21 UTC by Trip Ericson
Modified: 2024-10-04 19:38 UTC (History)
10 users (show)

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


Attachments
Crash log (2.53 KB, text/plain)
2024-10-04 09:41 UTC, qlum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Trip Ericson 2024-09-28 21:21:31 UTC
Starting with an update within the past month, probably 1.32.2, the KDE Connect Android app now crashes on open on Android 8.

STEPS TO REPRODUCE
1. Open KDE Connect.
2. If it doesn't immediately crash, pull down to refresh the list of connected devices.

OBSERVED RESULT
Crash occurs.

EXPECTED RESULT
KDE Connect can be used.

This is a pair of rooted Moto e5 Play phones with Android 8 on them.  Until recently, KDE Connect worked without issue.  It continues to run in the background, apparently, as the notification remains in the notification bar.  If it's connected to my computer, it'll even send and receive files, which is all I use KDE Connect for.  But as soon as I try to open the app to, say, refresh it so it connects to my system if it didn't automatically pick it up, it instantly crashes.  Reopening also crashes unless I immediately press the Home button to prevent it from showing me anything in the UI, and even that only works sometimes.  I don't know how to get a trace out of Android or I would provide it.  On the assumption it was related to the network connection, I put it in Airplane Mode; it still crashes.  Managed to somehow get into the Plugin settings and was able to disable Filesystem Expose, which I noted in the changelog for 1.32.2 had been removed, and it still crashes.

Glad to provide more info if I can.
Comment 1 Trip Ericson 2024-09-28 21:25:40 UTC
To be clear, as I realize I wasn't, I can send files from it if I use the pull-down option in the notification to send files so long as it's running in the background and connected to my computer.  I can't do it through the main UI as it crashes before the option shows up.  (Computer runs Kubuntu 22.04.)
Comment 2 Francesco 2024-10-03 20:42:01 UTC
I've experienced this bug today, for the first time, after last update (v1.32.4) from google play

App crashes when detecting/detected by kdeconnect installed on my Debian stable
Comment 3 Francesco 2024-10-03 20:43:48 UTC
(In reply to Francesco from comment #2)
> I've experienced this bug today, for the first time, after last update
> (v1.32.4) from google play
> 
> App crashes when detecting/detected by kdeconnect installed on my Debian
> stable

I'm using KDE connect on Android 14
Comment 4 Davide Beatrici 2024-10-03 20:47:38 UTC
Same here with version 1.32.3 from F-Droid (released 2 days ago). Downgrading to 1.32.2 fixes the issue.

Android 14.
Comment 5 Guillaume Ramelet 2024-10-04 06:03:21 UTC
Same issue on a Google Pixel 9 Pro
Sorry to ask but what is the recommended way to downgrade?
Can I do it from play store?
Comment 6 Guillaume Betous 2024-10-04 06:07:02 UTC
Same here on Pixel 7A Android 14 : 1.32.3 crashed when updated.

I tried to remove both cache and data, and I could run it. Once paired with my computer, it immediately said that the device is unavailable (not in same network). After a few interactions it crashed again.

Downgrading to 1.32.2 fix this.
Comment 7 Guillaume Betous 2024-10-04 06:08:46 UTC
(In reply to Guillaume Ramelet from comment #5)
> Same issue on a Google Pixel 9 Pro
> Sorry to ask but what is the recommended way to downgrade?
> Can I do it from play store?

Not sure this is possible with play store. I use f-droid and at the bottom of each page application you can choose which version you want. As using both f-droid and play store is totally possible (I do it since years), I would recommend you to use f-droid for all FOSS applications.
Comment 8 qlum 2024-10-04 09:41:34 UTC
Created attachment 174399 [details]
Crash log

Here is a quick crashlog attached
Comment 9 kapsh 2024-10-04 10:40:49 UTC
Still crashes, KDE connect 1.32.4 on Android 14. Workaround is to disable "receive remote keypress" plugin.
Comment 10 joey.joey586 2024-10-04 16:13:22 UTC
I'm also experiencing this problem (v1.32.3, Android 14)
Does not happen on 1.32.2
Comment 11 kde 2024-10-04 18:37:56 UTC
Can reproduce on Android 14 (LineageOS 21) in versions 1.32.3 (F-Droid) and 1.32.4 (Play Store). Downgrading to 1.32.1 confirmed to work. Disabling "receive remote keypresses" plugin confirmed to work around the issue at least in 1.32.3.
Comment 12 Francesco 2024-10-04 19:38:50 UTC
(In reply to kde from comment #11)
> Can reproduce on Android 14 (LineageOS 21) in versions 1.32.3 (F-Droid) and
> 1.32.4 (Play Store). Downgrading to 1.32.1 confirmed to work. Disabling
> "receive remote keypresses" plugin confirmed to work around the issue at
> least in 1.32.3.

thanks, workaround also works for me