Wallpaper error

I have a wallpaper screen in my app.
In test mode it works correctly, but when I install apk and when I select the wallpaper to load on the device the app closes alone.
I’d like some help. Thank you.
My blocks below:

Wallpaper manager can’t access the file stored in your assets, you would have to export/copy the file to storage first.


Hello Boban, thanks for the reply.
Could you show me how to do this using my blocks?
Thank you.