KDE Connect Android app does not support Android 10 by default

ValdikSS iam at valdikss.org.ru
Tue Jan 26 16:07:19 GMT 2021


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.

KDE Connect Android 1.16.0 from F-Droid.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_20210126-190544-fs8.png
Type: image/png
Size: 51139 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20210126/f5f89439/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20210126/f5f89439/attachment-0001.sig>


More information about the KDEConnect mailing list