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

targetSdkVersion>28 不要使用! #15

Open
Arthur185 opened this issue Nov 27, 2023 · 0 comments
Open

targetSdkVersion>28 不要使用! #15

Arthur185 opened this issue Nov 27, 2023 · 0 comments

Comments

@Arthur185
Copy link

java.lang.SecurityException: Media projections require a foreground service of type ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION

targetSdkVersion>28 不要使用,录屏需要有前台服务 否则直接崩溃,作者已经不更新了,不支持,慎用!!

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

1 participant