Appium along with the application gets stuck When attempting to capture the screen image in order to get the Xpaths for the overlay

I have the same problem, see my post.
Unfortunately there seems to be nobody with an idea.