Causes of Android “handlereceivecallback” error

With multi-dimensional model as the core, let the factory digital transformation and upgrading “within reach”>>>

Exception in MessageQueue callback: handleReceiveCallback

causes:

The touch screen event is triggered many times, resulting in too many messages for the same event. When the first message has finished processing the event and destroyed the event, because the event has been destroyed but the second same message has not been notified to be destroyed yet, when the main thread executes the second message, because the event cannot be obtained, an exception is thrown

solution:

Try.. catch.. is used to surround the touchevent event event processing
function


Similar Posts: