亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2054 | 回復(fù): 0
打印 上一主題 下一主題

appium連接出錯 [復(fù)制鏈接]

論壇徽章:
1
戌狗
日期:2014-05-28 16:19:09
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2017-08-06 16:20 |只看該作者 |倒序瀏覽
本帖最后由 angel725 于 2017-08-06 18:28 編輯

使用appium測試模擬器,出錯
  1. Traceback (most recent call last):
  2.   File "H:/PycharmProjects/app/app.py", line 11, in <module>
  3.     driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps)
  4.   File "E:\Python\Python35-32\lib\site-packages\appium\webdriver\webdriver.py", line 36, in __init__
  5.     super(WebDriver, self).__init__(command_executor, desired_capabilities, browser_profile, proxy, keep_alive)
  6.   File "E:\Python\Python35-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 98, in __init__
  7.     self.start_session(desired_capabilities, browser_profile)
  8.   File "E:\Python\Python35-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 188, in start_session
  9.     response = self.execute(Command.NEW_SESSION, parameters)
  10.   File "E:\Python\Python35-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 256, in execute
  11.     self.error_handler.check_response(response)
  12.   File "E:\Python\Python35-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 194, in check_response
  13.     raise exception_class(message, screen, stacktrace)
  14. selenium.common.exceptions.WebDriverException: Message: A new session could not be created. (Original error: Command failed: C:\Windows\system32\cmd.exe /s /c "E:\Android\sdk\platform-tools\adb.exe -s emulator-5554 install "F:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk""
  15. Failed to install F:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.settings without first uninstalling.]
  16. )
復(fù)制代碼


以前也試過代碼是可以用的,
應(yīng)該是在連接模擬器上出了問題。
環(huán)境是接教程做的,實在找不出哪出問題了
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP