Exception 'open failed: EACCES (Permission denied)' on Android

前端 未结 30 1591
[愿得一人]
[愿得一人] 2020-11-22 00:59

I am getting

open failed: EACCES (Permission denied)

on the line OutputStream myOutput = new FileOutputStream

30条回答
  •  死守一世寂寞
    2020-11-22 01:45

    Maybe the answer is this:

    on the API >= 23 devices, if you install app (the app is not system app), you should check the storage permission in "Setting - applications", there is permission list for every app, you should check it on! try

提交回复
热议问题