Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 平台报“Fail to open file”错误 #2

Closed
hejunbinlan opened this issue Apr 26, 2014 · 3 comments
Closed

android 平台报“Fail to open file”错误 #2

hejunbinlan opened this issue Apr 26, 2014 · 3 comments
Labels

Comments

@hejunbinlan
Copy link

报的具体错误如下:
Fail to open file: /storage/emulated/0/ecit/drawingboard/resume.vg
已经加了如下权限:

<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<!-- 读写sdcard的权限 -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
@rhcad
Copy link
Owner

rhcad commented Apr 26, 2014

是的,加读写权限

@rhcad rhcad closed this as completed Apr 26, 2014
@hejunbinlan
Copy link
Author

已经加了,但还是报这样的错误。
Sent from M9

-------- 原始邮件 --------
发件人:Zhang Yungui notifications@github.com
时间:2014-4-26 23:14
收件人:touchvg/touchvg touchvg@noreply.github.com
抄送:hejunbinlan hejunbinzhuanglan@126.com
主题:Re: [touchvg] android 平台报“Fail to open file”错误 (#2)

是的,加读写权限


Reply to this email directly or view it on GitHub:
#2 (comment)

@rhcad
Copy link
Owner

rhcad commented Apr 27, 2014

你是加下面的两个权限吗?

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

@rhcad rhcad reopened this Apr 27, 2014
@rhcad rhcad added the question label Apr 27, 2014
@rhcad rhcad closed this as completed Jun 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants