android导入环信3.0 open failed: EACCES (Permission denied)
能够正常跑起来,就是一直再打印这个鬼东西
01-30 14:12:01.392 17398-17412/com.easemob.chatuidemo W/System.err: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.easemob.chatuidemo/easemob-demo#chatdemoui/log/20160130/000.html: open failed: EACCES (Permission denied)
01-30 14:12:01.392 17398-17412/com.easemob.chatuidemo W/System.err: at libcore.io.IoBridge.open(IoBridge.java:409)
01-30 14:12:01.397 17398-17412/com.easemob.chatuidemo W/System.err: at java.io.FileOutputStream.(FileOutputStream.java:88)
01-30 14:12:01.397 17398-17412/com.easemob.chatuidemo W/System.err: at com.easemob.util.FileLogger$1.run(Unknown Source)
01-30 14:12:01.402 17398-17412/com.easemob.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
01-30 14:12:01.407 17398-17412/com.easemob.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
01-30 14:12:01.412 17398-17412/com.easemob.chatuidemo W/System.err: at java.lang.Thread.run(Thread.java:841)
01-30 14:12:01.412 17398-17412/com.easemob.chatuidemo W/System.err: Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)
01-30 14:12:01.417 17398-17412/com.easemob.chatuidemo W/System.err: at libcore.io.Posix.open(Native Method)
01-30 14:12:01.422 17398-17412/com.easemob.chatuidemo W/System.err: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
01-30 14:12:01.427 17398-17412/com.easemob.chatuidemo W/System.err: at libcore.io.IoBridge.open(IoBridge.java:393)
01-30 14:12:01.427 17398-17412/com.easemob.chatuidemo W/System.err: ... 5 more
01-30 14:12:01.392 17398-17412/com.easemob.chatuidemo W/System.err: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.easemob.chatuidemo/easemob-demo#chatdemoui/log/20160130/000.html: open failed: EACCES (Permission denied)
01-30 14:12:01.392 17398-17412/com.easemob.chatuidemo W/System.err: at libcore.io.IoBridge.open(IoBridge.java:409)
01-30 14:12:01.397 17398-17412/com.easemob.chatuidemo W/System.err: at java.io.FileOutputStream.
01-30 14:12:01.397 17398-17412/com.easemob.chatuidemo W/System.err: at com.easemob.util.FileLogger$1.run(Unknown Source)
01-30 14:12:01.402 17398-17412/com.easemob.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
01-30 14:12:01.407 17398-17412/com.easemob.chatuidemo W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
01-30 14:12:01.412 17398-17412/com.easemob.chatuidemo W/System.err: at java.lang.Thread.run(Thread.java:841)
01-30 14:12:01.412 17398-17412/com.easemob.chatuidemo W/System.err: Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)
01-30 14:12:01.417 17398-17412/com.easemob.chatuidemo W/System.err: at libcore.io.Posix.open(Native Method)
01-30 14:12:01.422 17398-17412/com.easemob.chatuidemo W/System.err: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
01-30 14:12:01.427 17398-17412/com.easemob.chatuidemo W/System.err: at libcore.io.IoBridge.open(IoBridge.java:393)
01-30 14:12:01.427 17398-17412/com.easemob.chatuidemo W/System.err: ... 5 more
没有找到相关结果
已邀请:
1 个回复
[已注销]
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>