When I try to make a screenshot in Android Studio from some of my projects (by pressing the camera icon), I get the following message:
"Unexpected error while obtaining screenshot from device: EOF"
I can make a screenshot of the same image if I click the camera icon after opening a totally different project. Is there some corrupted file associated with the project that needs to be deleted and replaced?