ScreenKap icon indicating copy to clipboard operation
ScreenKap copied to clipboard

Android 11 Not Working

Open Hitskalkani opened this issue 4 years ago • 2 comments

In Android 11 (Api level 29 or 30) Not Working Caused by: java.lang.SecurityException: Media projections require a foreground service of type ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION

Hitskalkani avatar Jun 24 '21 06:06 Hitskalkani

this lib is dead, let using https://github.com/HBiSoft/HBRecorder

fukemy avatar Oct 06 '21 09:10 fukemy

@Hitskalkani The error is telling you that you need to run the media project API as a Foreground service. Moreover, I have tested the code as it was working on Android 12 as well.

hemandroid avatar Jun 20 '22 05:06 hemandroid