I am creating an application that needs to read and write many files and directories.
The user must be able to have direct access to these directories to put files there himself.
I am testing the application on two devices, a tablet and a phone.
With this simple block, I don't have the same result.
On the tablet, the directory is created but on the phone, I have an error message.
"Cannot create directory at /Storage/emulated/0/Gestion_hand"
Both are under andoid 11 with the same permissions on multimedia files.