I’m trying to write files to the SD card. Application.persistentDataPath
returns /storage/emulated/0/Android/data/com.mettavr/files/
However there is no such 0 folder:
$ abd shell
$ ls /storage/emulated
legacy
So all I got is a IsolatedStorageException: Could not find a part of the path
. If I manually replace Application.persistentDataPath
by /storage/emulated/legacy/Android/data/com.mettavr/files/
it works fine (not sure this is what I should use because of the legacy thing but it runs so…)
Is that a known thing? Am I missing something?