No, it is written to the app-specific directory (ASD):
Companion:
/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files
compiled app (APK):
/storage/emulated/0/Android/data/<packageName>/files
Cause:
The file component (for API level ≥ 29) adds the ASD path to the beginning of each path that you declare.
If I save a text in the ASD
this path is returned (but doesn't exist and cannot be created):
/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/Android/data/edu.mit.appinventor.aicompanion3/files/text.txt.
Therefore you get an error message.
When I create a new directory (/myDir → /storage/emulated/0/myDir (using the TaifunFile extension, → WRITE permission granted!): App Inventor Extensions: File | Pura Vida Apps
this directory is created without any problems. However, the file component points to this path:
/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/myDir
However, this path does not exist, which is why you get an error message.
This is a bug (on devices with API level ≥ 29, no issues on Android 9 devices) @ewpatton @Susan_Lane
Solution / workaround (checked): Use the EFile extension from @vknow360:

