Map save block returns File error

using the "map.save path" block returns "open failed: EROFS (Read-Only file system)" while the "File Save" block works fine with the same input.

Capture

This works:

image

You will need an extension that provides the application specific directory (ASD)

In companion the file is saved to:
/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/test1.json

1 Like

Nice thanks. Would not have found the solution without your help.
I guess extension is required, no way to set path by hand ?

To read after write, I added file:// to make it a URI

You can in some circumstances get the correct path without an extension:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.