-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
最新版本captureScreen方法失败 #1092
Comments
emmmm,重新启动后没复现了。 |
发现是用root提供无障碍模式权限,但是在上一个版本打开,这个版本安装的时候默认关闭,导致无障碍模式处于薛定谔的打开,需要在软件设置里面重启把通过root权限打开无障碍模式再打开 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
6.6.5版本是没问题的
6.6.5
代码:cc= captureScreen("/storage/emulated/0/Pictures/Gallery/owner/year+"-"+date.getTime()+".jpg");
报错
No screen capture permission
Wrapped java.lang.IllegalStateException: java.lang.SecurityException: No screen capture permission
The text was updated successfully, but these errors were encountered: