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

access denied错误 #2

Open
Cyrker opened this issue Apr 14, 2021 · 6 comments
Open

access denied错误 #2

Cyrker opened this issue Apr 14, 2021 · 6 comments

Comments

@Cyrker
Copy link

Cyrker commented Apr 14, 2021

你好大佬!
我下载了easymv,添加了我的游戏
点击运行后
报错为
file:///storage/emulated/0/xxx/www/inedx.html?webgl 的网页无法加载
access denied
我的手机型号是 小米
系统版本是 MIUI 12.5.3(应该是安卓10吧..)
请问有啥解决办法吗

我又去那个论坛里(rpg.blue)搜索了一下
找到了这个软件
https://rpg.blue/thread-410243-1-1.html
尝试了一下可以运行..不知道是啥原因

@KEKE046
Copy link
Owner

KEKE046 commented Apr 29, 2021

可能是没有获取内部储存空间的权限,应该在app启动的时候会有权限提示。如果没有的话可以看看系统设置里面应该有应用权限管理,可以看看访问储存的权限开没有。

@Cyrker
Copy link
Author

Cyrker commented May 2, 2021

可能是没有获取内部储存空间的权限,应该在app启动的时候会有权限提示。如果没有的话可以看看系统设置里面应该有应用权限管理,可以看看访问储存的权限开没有。

我检查了一下 能给的读取权限都给了..

@zhaoliuyun0
Copy link

求问 给游戏的设置无法保存下来。
是不是因为游戏存储在了存储卡

@zhaoliuyun0
Copy link

emm好像还真是

@Rstment25
Copy link

emm好像还真是

This issue still persists , I think you should check how you are using storage api. This issue no doubt happens on all android 11+ devices

The permission your app requests is - Allow acces to media only ( It only allows viewing pictures and such, it can't be used for what you're doing I am afraid...)
There's a more powerful permission called - Allow acces to manage all files

I think changing permisison to this one would fix the issue , since your app would be able to access the files it needs... ( Maybe remove internet permission from the app while you're at it ? It's a huge security flaw on an app with full storage access )

If you are willing to learn , apps like these 2 use newer storage api - it should be possible to rewrite app so that it doesn't need ANY storage permissions:

https://github.com/ATryder/TEdit
https://f-droid.org/repo/com.atr.tedit_27.apk

https://github.com/fredhappyface/android.fhcode
https://f-droid.org/repo/com.fredhappyface.fhcode_20220110.apk

My search goes on...:p

@Rstment25
Copy link

Rstment25 commented Jan 18, 2023

可能是没有获取内部储存空间的权限,应该在app启动的时候会有权限提示。如果没有的话可以看看系统设置里面应该有应用权限管理,可以看看访问储存的权限开没有。

frogot to tag you... check reply above
Screenshot_20230118-142904_EasyMV
Screenshot_20230118-142839_Permission controller

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

4 participants