1.ADB Devices---adb is neither an internal command nor an external program command.
Solution: Under the premise of successful installation, pay attention to the configuration of environment variables, which is usually caused by inconsistent environment variables and actual paths.
2. Use uiautomatorviewer when connecting device, error:
Error obtaining UI Hierarchy
Com.android.ddmlib.AdbCommandRejectedException
Devices unauthorized
FIX: The device debug mode is turned off and reopened, the prompt all debugging select OK, then re-adb devices, and then re-open Uiautomatorviewer can.
You can use Uiautomatorviewer to locate the element path ID of the device for Autotest-code use.
3. When creating a class using eclipse: Could not calculate build Plan:plugin
Workaround: Delete the C:\Users\Administrator\.m2\repository\org\apache\maven\plugins files below, then tick Wouindows--preferences--maven--update Maven Projects
Re-download the dependent package.
Android Automated Test 01-Environment installation connectivity issues and solutions