adb got two same serial numbers when connected to two smart phones

后端 未结 7 1315
心在旅途
心在旅途 2020-11-27 16:57

I have two smart phones (ZTEV788d, system Android 2.3.6) connected to a computer (Ubuntu 11.10) at the same time, using co

7条回答
  •  感情败类
    2020-11-27 17:56

    If you don't want to change the device itself, and/or don't have root access, and the device has network access, you could switch to using TCPIP instead of USB:

    1. Switch adb to using TCPIP: adb tcpip 5555
    2. Have adb connect to the device using the network: adb connect yourhostname

    I've run this through SSH tunnels where it would connect to localhost, so all devices show up as 'localhost' which is quite unuseful. Adding hosts to /etc/hosts (that all pointed to localhost) fixed that for me.

提交回复
热议问题