Stepping on the pit: uiautomatorviewer cannot be opened

Double-click uiautomatorviewer.bat, the window flashes, but does not open

Reason: The jdk version of java is too high

Solution: Download jdk1.8 to install and configure environment variables, then run uiautomatorviewer.bat again

Official website download address: Java Downloads | Oracle

Solution steps:

1. Download jdk and install it

2. Configure environment variables

3. Run uiautomatorviewer.bat again (if it doesn’t take effect, try restarting the computer)

 

4. Start successfully

 

 

Guess you like

Origin blog.csdn.net/m0_37794269/article/details/126366607