【问题标题】:Couldn't able to connect appium inspector for android emulator in windows无法在 Windows 中为 android 模拟器连接 appium 检查器
【发布时间】:2021-12-27 20:21:46
【问题描述】:

无法连接 Android 模拟器的 appium 检查器:

Desire Capabilities
    {
      "platformName": "Android",
      "appium:platformVersion": "11.0",
      "appium:deviceName": "Pixel4",
      "appium:app": "C:\\Users\\prasad.sangpal\\Desktop\\ApiDemos.apk",
      "appium:appPackage": "io.appium.android.apis",
      "appium:appActivity": ".view.TextFields",
      "appium:automationName": "UiAutomator2"
    }

Remote Port: 4723 | Remote Host: 0.0.0.0
Error: 
Could not connect to server; are you sure it's running? If you are using the browser version, also ensure your Appium server has been started with --allow-cors.

【问题讨论】:

    标签: android windows appium appium-desktop


    【解决方案1】:
    1. 在启动 uiautomatorviewer 之前关闭 Appium 服务器
    2. 检查您的环境变量和路径。
    3. 您可以使用终端打开检查器。

    【讨论】:

      猜你喜欢
      • 2019-07-06
      • 2016-04-07
      • 1970-01-01
      • 2015-08-02
      • 2022-06-14
      • 1970-01-01
      • 2016-02-25
      • 2011-06-18
      • 2020-05-28
      相关资源
      最近更新 更多