npm install -g appium
来安装appium,报错,无效。pip install Appium-Python-Client
。使用
from appium import webdriver des = {} des['platformName'] = 'Android' des['platformVersion'] = '4.2' des['deviceName'] = 'Android Emulator' des['app'] = "C:\\Users\Administrator\\Desktop\\testappium\\list1." ('http://localhost:4723/wd/hub', '')
配置好了之后,发现提示需要android sdk。下好sdk之后。再次运行。