as per what i can guess is that aicount folder does not exist or it is because your path is not ending with / instead aicount can you put Download/ remember to end with /
Since → targetSdkVersion = 30 you can no longer create an arbitrary folder on Android 11+. So save in one of the Shared folders (like /Pictures or /Documents or /Download ...).
@Aarush_Kumar@Anke
Thanks a lot, this question is caused by the file path on Android, I changed the "/storage/emulated/0/aicount" to following options:
"/storage/emulated/0/aicount/", not work
"/storage/emulated/0/Pictures", not work
"/mnt/sdcard/Pictures", worked, see below screenshot: