I made a application that need to save files on user’s phone, but I find that after recently update, every time when I try to save a file, it will return Error 2103/2104.
I have check whether it have no permission, but it still not work. I can sure my block have no bug.
I have a old app which created by elder kodular version, it can save file.
No, this won’t work on any device with Android version > API 22 (since Android 6, runtime permissions).
It’s not a bug and has nothing to do with Android 10.
As I posted several times, the File component does not ask for WRITE_EXTERNAL_STORAGE permission automatically (if you save a file). You MUST ask for it manually:
Emmm. Although the file component does not ask for permission by itself, but I still think it is Xiaomi’s problem. After I upgraded to Android 9, it will have two permission control interface,l.
One like this
For every app, Only the second control interface can really change the app’s permission.
I had reported this bug to Xiaomi, maybe they will solve it soon.