D:\download\appium\appium-master\sample-code\examples\python>python android_cont
acts.py
Traceback (most recent call last):
File "android_contacts.py", line 17, in
driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps)
File "D:\Python27\lib\site-packages\selenium-2.40.0-py2.7.egg\selenium\webdriv
er\remote\webdriver.py", line 71, in init
self.start_session(desired_capabilities, browser_profile)
File "D:\Python27\lib\site-packages\selenium-2.40.0-py2.7.egg\selenium\webdriv
er\remote\webdriver.py", line 113, in start_session
'desiredCapabilities': desired_capabilities,
File "D:\Python27\lib\site-packages\selenium-2.40.0-py2.7.egg\selenium\webdriv
er\remote\webdriver.py", line 164, in execute
self.error_handler.check_response(response)
File "D:\Python27\lib\site-packages\selenium-2.40.0-py2.7.egg\selenium\webdriv
er\remote\errorhandler.py", line 164, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: u'A new session could no
t be created. (Original error: Android devices must be of API level 17 or higher
. Please change your device to Selendroid or upgrade Android on your device.)'


↙↙↙阅读原文可查看相关链接,并与作者交流