为了获取 toast 信息,加了 ['automationName']='UiAutomator2'之后总是报错
来源:1-19 如何获取tost元素

慕粉1224429473
2018-11-17
你好,我使用android 5.1的设备和appium-desktop,在desired_caps里面加入[‘automationName’]='UiAutomator2’之后报错,提示“Original error: Could not find aapt Please set the ANDROID_HOME environment variable with the Android SDK root directory path.”,连app也启动不起来,如果去掉[‘automationName’]='UiAutomator2’正常启动app运行脚本
写回答
1回答
-
Mushishi
2018-11-17
Original error: Could not find aapt Please set the ANDROID_HOME environment variable with the Android SDK root directory path 你android home的环境变量设置了么?
012018-11-17
相似问题