Csv files in apk package

Hi,
I had an error 2101 when the app try to read the csv file when I install the app generated.
the scope is set to shared
FileSetting
the csv file is located in "Documents"
Block
I dont know where I made an error.
Thanks

Try with Legacy

I tryed with Legacy, the same problem. thanks for the answer

Like this you only can read non media files your app owns
Use SAF
See also Some basics on Android storage system

Taifun

Where does this CSV file come from? Created by your app? If not follow @Taifun's advise.

The csv file is created with google sheet and I put it in " Documents".
then how can I access to it?
thanks

My question was, how/where does the CSV file get onto your device? Do you copy it there manually, independently of your app, or is it created by the app itself within a Google Sheets extension?

In other words, does your app own this file (or was it created/copied by another app?

I create it manually with google sheet and I copy it manually in "Documents".

Then your app has no access to it on Android 11+. You must use SAF or request & grant MANAGE_EXTERNAL_STORAGE permission,

thank you. How can i do this? I'am novice in android programmation.

Have you tried uploading the csv files to the Media folder in the Designer yet?