Skip to content

Android How to Resolve Read Only File System #19064

Answered by thevortexcloud
J0nathan550 asked this question in Q&A
Discussion options

You must be logged in to vote

Well assuming you are trying to write to / then that would be the root. Which is not writeable at all (at least not without root access, which no normal android device will have). If you want to write to the actual documents you need to use Storage Access Framework or give your app permission to write to all other locations.

https://developer.android.com/training/data-storage/shared/documents-files

The android file system is also weirdly laid out and varies by device. Generally user files are under /sdcard. But it might be also mounted under one of several other locations. A lot of this can also be hard to workout without a device that is rooted since you will get a lot of access denied e…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@thevortexcloud
Comment options

Answer selected by J0nathan550
@J0nathan550
Comment options

@thevortexcloud
Comment options

@J0nathan550
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants