1

I have used the Media projection API to capture the screen.

I am getting the below warning while stopping the media projection.

10-07 10:32:57.394      537-537/? W/MediaProjectionManagerService﹕ Failed to notify media projection has stopped
    android.os.DeadObjectException
            at android.os.BinderProxy.transactNative(Native Method)
            at android.os.BinderProxy.transact(Binder.java:496)
            at android.media.projection.IMediaProjectionCallback$Stub$Proxy.onStop(IMediaProjectionCallback.java:75)
            at com.android.server.media.projection.MediaProjectionManagerService$ClientStopCallback.run(MediaProjectionManagerService.java:614)
            at android.os.Handler.handleCallback(Handler.java:739)
            at android.os.Handler.dispatchMessage(Handler.java:95)
            at android.os.Looper.loop(Looper.java:135)
            at com.android.server.SystemServer.run(SystemServer.java:269)
            at com.android.server.SystemServer.main(SystemServer.java:170)
            at java.lang.reflect.Method.invoke(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:372)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

This is just a warning. Not a exception. Kindly help me to get out of this.

4

1 回答 1

2

根据 Android 问题跟踪器,此问题已在未来版本中得到修复(至少对于 Android M Preview 3 及更高版本)。

但是,我不确定是否要将此修复程序向后移植到 Android Lollipop。

于 2015-10-13T00:53:31.827 回答