Add the --old flag
This flag lets you to switch to the old version of uiautomator. This fixes compatibility problems: uiautomator v2 (default) does not work on some Android devices.
All features work the same for both versions (with and without --old).