【问题标题】:In calabash-android After disale the data/Wifi , I am not able to access the app Errno::ECONNREFUSED: Connection refused - connect(2) for "1在 calabash-android 禁用 data/Wifi 后,我无法访问应用程序 Errno::ECONNREFUSED: Connection denied - connect(2) for "1
【发布时间】:2016-06-14 21:01:44
【问题描述】:

在 calabash-android 禁用数据/Wifi 后,我无法访问应用程序

irb(main):003:0> %x(adb shell svc wifi disable) “” irb(main):004:0> %x(adb shell svc 数据禁用) “” irb(main):005:0> 查询("*") Errno::ECONNREFUSED:连接被拒绝 - connect(2) 用于“127.0.0.1”端口 34777 (127.0.0.1:34777)

【问题讨论】:

    标签: calabash-android


    【解决方案1】:

    adb 可以通过 Wi-Fi 或 USB 使用:

    https://developer.android.com/studio/command-line/adb.html

    如果您通过 wi-fi 使用它,并禁用连接,它将断开连接。

    如果 adb over Wi-Fi 不是您的情况,那么我们需要更多信息。

    【讨论】:

      猜你喜欢
      • 2014-06-17
      • 1970-01-01
      • 2016-12-26
      • 1970-01-01
      • 2015-10-09
      • 1970-01-01
      • 2016-01-27
      • 2020-04-15
      • 2012-04-01
      相关资源
      最近更新 更多