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

E/AGORA_SDK(30488): cannot open log file for writing: agorartm.log, err=30 #27

Closed
iyuhang opened this issue Feb 28, 2020 · 7 comments
Closed

Comments

@iyuhang
Copy link
Contributor

iyuhang commented Feb 28, 2020

flutter 1.12.13+hotfix.8
一加7plus
console 一直打印这个日志错误

E/AGORA_SDK(30488): cannot open log file for writing: agorartm.log, err=30
E/AGORA_SDK(30488): cannot open log file for writing: agorartm.log, err=30
E/AGORA_SDK(30488): cannot open log file for writing: agorartm.log, err=30
E/AGORA_SDK(30488): cannot open log file for writing: agorartm.log, err=30

@LichKing-2234
Copy link
Collaborator

这个是没有文件写权限

@iyuhang
Copy link
Contributor Author

iyuhang commented Feb 28, 2020

怎么能解决呢
我已经试过 :
重启电脑 、手机,彻底卸载重装 app
flutter pub repair, 重建所有插件

@LichKing-2234
Copy link
Collaborator

Android权限设置里给读写文件的权限

@LichKing-2234
Copy link
Collaborator

或者用代码申请

@JoannaGong
Copy link

@LichKing-2234 我给了权限,也是这样报错,是我给的权限不对吗?

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

@LichKing-2234
Copy link
Collaborator

@JoannaGong 不仅如此,还需要代码申请

@LichKing-2234
Copy link
Collaborator

I will close this issue because it is too old. if there are still problems, you can reopen this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants