我的电脑中安装了 uiautomator 版本 2。但是当 appium 服务器在命令下运行时
adb -s b133582d shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg io.ionic.starter -e disableAndroidWatchers false
它返回如下警告:
此版本的 UI Automator 已弃用。新的测试应该使用 UI Automator 2.0 编写,它是 Android 测试支持库的一部分。有关更多详细信息,请参阅https://developer.android.com/training/testing/ui-testing/uiautomator-testing.html 。
我该如何解决这个问题?