I am building a screen recording application. But it only works on targetSdkVersion 28, when passing targetSdkVersion 29 requested by google, the error
Code