I used the uiautomatorviewer to do UI android automation. But when i try to take snapshot to list the UI, it shows adb is not installed.
"uiautomatorviewer" is now replaced with "monitor" starting with android studio 2.3. I saw that uiautomatorviewer is no longer available with Android Studio 2.3.
The uiautomatorviewer is a standard UI tool shipped as part of Android Studio for analyzing those UI components of your Android application. Using it you can inspect the UI, find hierarchies the same way you would use Appium Inspector and view different properties/attributes of those UI elements.
See the answer at https://plus.google.com/u/0/108487870030743970488/posts/2TrMqs1ZGQv
Basically, the com.android.uiautomator.bindir
property is not set in uiautomatorviewer.bat
.
Edit the file and set the property to the path for android-sdk/tools folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With