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

前端 未结 30 1614
[愿得一人]
[愿得一人] 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:30

    I would expect everything below /data to belong to "internal storage". You should, however, be able to write to /sdcard.

提交回复
热议问题