android中代码操作外部SD卡出错:W/System.err(1595): Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)

AndroidManifest.xml

中加上:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

 

posted @ 2017-04-15 11:31  乐乐章  阅读(1047)  评论(0编辑  收藏  举报