Yrom Wang

Results 27 comments of Yrom Wang

接口大多应该已经废了哦

@runningcode `./buckw targets` works fine, if i replace `postprocessing` block to old DSL, e.g. ``` buildTypes { release { ... proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } ```

Could you post the log trace of this crash? I guess that it's a bug of your phone's system..

可以实现的,要对virtual display 创建出来的surface 做二次操作。

没有那么简单。。。需要用到OpenGL

本来 mediaprojection 就应该在 service 中使用,这里只是demo,没用service

是有可能发生,其实这里加个回调只是为了外部能够有时长提示而已。。。 你有什么好的建议吗?

Could you provide full stack trace or logs for this error?

When using `MediaProjection` target Android Q+, you must call `MediaProjectionManager.getMediaProjection()` in a forceground service of type `ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION`. ``` ``` And don't forget the `FOREGROUND_SERVICE` permission: ``` ``` See https://developer.android.com/reference/android/app/Service#startForeground(int,%20android.app.Notification) https://developer.android.com/reference/android/Manifest.permission#FOREGROUND_SERVICE...