Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
7.4k views
by The go-to Tester (232 points)

UI Automator Viewer could not take Android Emulator's screenshot:

   Error obtaining UI hierachy

   Reason:

     Error taking device screenshot: EOF

Please show me some ways to fix it!

Many thanks in advance!

 

3 Answers

0 like 0 dislike
by The go-to Tester (181 points)
selected by
 
Best answer
Turn GPU off in emulator. I mean HAXM acceleration has to be turned off.

 

This should help!
by The go-to Tester (232 points)
It works now.
Thank you so much!
0 like 0 dislike
by
Kill adb server and restart the adb server.Then check
0 like 0 dislike
by
download old version of platform tools from link =   

" https://dl.google.com/android/repository/platform-tools_r28.0.0-windows.zip "

copy adb.exe and replace with currunt one in your sdk tools.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...