KDE Connect Android app does not support Android 10 by default

Piyush Aggarwal piyushaggarwal002 at gmail.com
Wed Jan 27 10:19:27 GMT 2021


On Wed, 27 Jan, 2021, 3:44 pm ValdikSS, <iam at valdikss.org.ru> wrote:

> Hello,
>
> It seems that Android 10 changed storage access, making KDE connect
> unable to receive sent files to default /storage/emulated/0/Download
> path. It fails with error, the following is seen in logcat:
>
> 1-26 18:54:55.564  6617 13058 W DocumentFile: Failed to createFile:
> java.io.IOException: Permission denied
> 01-26 18:54:55.565  6617 13058 E Shareplugin: Error receiving file
> 01-26 18:54:55.565  6617 13058 E Shareplugin:
> java.lang.RuntimeException: Cannot create file boarding-pass.pdf
> 01-26 18:54:55.565  6617 13058 E Shareplugin:   at
>
> org.kde.kdeconnect.Plugins.SharePlugin.CompositeReceiveFileJob.getDocumentFileFor(CompositeReceiveFileJob.java:267)
> 01-26 18:54:55.565  6617 13058 E Shareplugin:   at
>
> org.kde.kdeconnect.Plugins.SharePlugin.CompositeReceiveFileJob.run(CompositeReceiveFileJob.java:140)
> 01-26 18:54:55.565  6617 13058 E Shareplugin:   at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
> 01-26 18:54:55.565  6617 13058 E Shareplugin:   at
> java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 01-26 18:54:55.565  6617 13058 E Shareplugin:   at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
> 01-26 18:54:55.565  6617 13058 E Shareplugin:   at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
> 01-26 18:54:55.565  6617 13058 E Shareplugin:   at
> java.lang.Thread.run(Thread.java:919)
>
> When I tick "Customize destination directory" checkbox and select
> Download path, the path is shown as "/tree/primary:Downloa" (check the
> attachment screenshot). This way it works perfectly fine.
>

This fixes the receive file issue for me as well. Can confirm this is a bug
(using the build from FDroid here too).

However, a better place for this discussion would be bugs.kde.org . Can you
please file a bug over there so we can fix it duly? (:

Best
Piyush Aggarwal
tm9k1.github.io
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20210127/94674764/attachment.htm>


More information about the KDEConnect mailing list