To debug run e.g.
gradlew.bat build
and open folder in Android Studio.
To reproduce Issue 263307511: Make sure you have "Show Background ANR" enabled on your Android phone.
- Start application
- Tap a couple of times in the application
- Move application to background by e.g. switching to home screen
- Wait about 3-4 seconds
- Re-open application, notice it has hanged
- Tap a couple of times in the application
- Wait until the application starts rendering again
- Wait a couple of seconds and the Android ANR dialog pops up
- The dialog keeps popping up even tho the application is responsive
See video.mp4 for a repro case