Download Android SDK->android-sdk_r24.4.1-windows.zip Then Follow Path ex C:\android-sdk_r24.4.1-windows\android-sdk-windows\tools\uiautomatorviewr.bat Run this bat file While using uiautomatorviewer , always open app into mobile device and adb should be installed into computer system