I'm trying to make an android app and I want to keep java to a minimum. I want to be able to download and upload certain JSON files in my app, however I cannot use std::fs as it causes a permission denied error.
What do I use instead of std::fs or how do I fix the permission error?
The permission error isn't caused bystd::fs. It is caused by insufficient permissions. You're probably trying to write to a forbidden location. std::fs methods work just fine.