您的位置:首页 > 移动开发 > Android开发

Android系统应用不支持读写存储

2017-04-19 18:28 239 查看
Android 加了android.uid.system后,读写Storage会报错:

EACCES (Permission denied)

后来查到有说:

The system user can not access the SD card, because if the SD card gets unmounted it may need to kill any processes that have files open on it and we don’t want system processes being killed like that. If you want to access the SD card, you need to not use the system shared user ID.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐