Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

compileSdkVersion、targetSdkVersion调到29报错 #17

Open
dondurma opened this issue Mar 6, 2021 · 1 comment
Open

compileSdkVersion、targetSdkVersion调到29报错 #17

dondurma opened this issue Mar 6, 2021 · 1 comment

Comments

@dondurma
Copy link

dondurma commented Mar 6, 2021

compileSdkVersion、targetSdkVersion调到29报错如下:Caused by: java.lang.SecurityException: Media projections require a foreground service of type ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION

@BruceWind
Copy link
Owner

hi sorry,没看到你的issue。 您看下这个 地址:https://zhuanlan.zhihu.com/p/360356420 ,能否解决您的问题。
不知道您是否已经修复了这个问题。 如果修复了可以提个PR给到这个repo吗?

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

No branches or pull requests

2 participants