mapbox-android-demo
mapbox-android-demo copied to clipboard
ANR: Input dispatching timed out
Device: Nexus 6P OS: Android 7.1.1 Version of the demo app: master from Friday 07/13 with Maps SDK 6.3.0-beta.1 installed
The app stops running sometimes, maybe randomly, maybe after I load a complicated example (geojson extrusions? managing offline packs? snaking directions?). logcat says:
ANR in com.mapbox.mapboxandroiddemo.debug (com.mapbox.mapboxandroiddemo.debug/com.mapbox.mapboxandroiddemo.examples.extrusions.RotationExtrusionActivity)
PID: 8202
Reason: Input dispatching timed out (Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.)
The activity name and explanation of the reason changes depending on which activity I was looking at when the app crashed. Here's another example:
07-17 12:30:13.638 4252-4280/? E/ActivityManager: ANR in com.mapbox.mapboxandroiddemo.debug (com.mapbox.mapboxandroiddemo.debug/com.mapbox.mapboxandroiddemo.labs.SnakingDirectionsRouteActivity)
PID: 25073
Reason: Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 45. Wait queue head age: 5508.0ms.)
Could you please take a look?
Are there any news here? I'm experiencing the same issue on: Device: Google Pixel 2 OS: Android 9.0 Mapbox version: 6.7.1
same here
Same here with the latest version 7.2.0! It mostly happens on huawei devices.
I have the same issue, did not find the solution