0

我通过 TCP/IP(在平板电脑上使用 adbWireless)连接到我的设备:

$ adb connect 192.168.178.21
connected to 192.168.178.21:5555

$ adb devices
List of devices attached 
192.168.178.21:5555 device

$ adb -d install program.apk
error: device not found
- waiting for device -

$ adb -s 192.168.178.21:5555 install program.apk
577 KB/s (1673947 bytes in 2.832s)
        pkg: /data/local/tmp/program.apk
Success

我已经等了 5 分钟,但没有任何反应。

我怎样才能adb -d工作?

4

1 回答 1

1

有时使用控制台命令尝试帮助。-d 标志仅适用于 USB 设备:

zaytzev@piec-ubu:/opt/android-sdk-linux/platform-tools$ ./adb --help
Android Debug Bridge version 1.0.31

-d        - directs command to the only connected USB device
          returns an error if more than one USB device is present.
于 2013-03-09T10:01:58.220 回答