Unexpected error while obtaining screenshot from device: EOF
I ran into this problem recently - everything had been working fine previously. Apparently it started when I migrated to SDK 26 a few weeks ago. This fixed it for me: - shut down Studio - rename adb.exe in Android\sdk\platform-tools to .saf - copy the older adb.exe from Android\android-sdk\platform-tools to Android\sdk\platform-tools - restart Studio
So basically replace the SDK 26 adb.exe with an older version...