【问题标题】:adb install command when device is not present设备不存在时的 adb install 命令
【发布时间】:2014-07-02 08:24:02
【问题描述】:

我正在使用我的应用程序中的“adb install”命令在 android 设备上安装 apk。但是如果偶然设备没有连接,安装命令将无限期地等待设备连接。

有没有办法提供一个超时,如果在这段时间内没有找到设备,安装命令就会出来?

【问题讨论】:

    标签: android adb


    【解决方案1】:

    如果你在 Eclipse 中,你可以通过浏览来做到这一点

    Window-> Preferences -> Android -> DDMS -> ADB Connection Timeout (ms)

    【讨论】:

      猜你喜欢
      • 2011-07-27
      • 2014-04-27
      • 1970-01-01
      • 2021-04-26
      • 2014-02-01
      • 2015-02-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多