Create a folder and move a photo into it

  1. You cannot create a (sub)folder in the root directory of the external storage on Android 11+.

  2. You can only create a new subfolder in one of the Shared folders (like e.g. /Download or /Documents).

  3. The File component uses/needs a relative path (not an absolute path). With FileScope=App it is just the fileName. With FileScope=Shared or Legacy the path is relative to the root directory of the external storage (/storage/emulated/0).


See also here: Some basics on Android storage system