How to copy asset file to /storage/emulated/0/Android/data/

how to copy asset files to /storage/emulated/0/Android/data/, because on newest android updates application can`t copy files to data file ,plese help

Try this

1 Like

its working if i want to copy the file to download but its not working if i want to copy to data file

Are you sure test is a valid file name and path?

Even if it was a file… Android would interpret it as a directory. The “file” has to have an extension to it.

use correct filenames and call she Share File method in the Copied event…
you can’t share a file before it has been copied completely…

Taifun

This is not a solution at all. Almost everything is wrong in your blocks. The file extensions are missing, the paths are incorrect and permissions are also not required to copy from the assets to the ASD.

In order not to confuse others, I’ll remove the Solution marker.

1 Like