I've found a scenario that can cause this crash and managed to reproduce it. In my scenario, there is a video that can be scrolled up and down and a live-streaming room. When you take a screenshot and trigger the scrolling screenshot feature, and at the same time you are scrolling the live-streaming room up or down, it might lead to this crash. Perhaps when the system takes a screenshot, it will call the "gatherTransparentRegion" method to stitch together screenshot information and trigger this issue. Essentially, though, I think the system protection hasn't been done well. Of course, I can't rule out that some ViewGroups in between, like the RecyclerView, might have certain bugs. Maybe the operation on the number of views during a call in the main thread has caused this problem. It's possible that upgrading to AndroidX could solve it. My solution is to override the "gatherTransparentRegion" method of the RecyclerView in between and add a try-catch block for protection.