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

后端 未结 7 1290
心在旅途
心在旅途 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:57

    Today I found an easy solution for this issue.

    adb devices -l
    

    You'll get list of devices with their qualifiers

    List of devices attached
    P753A12D device usb:26200000 transport_id:1
    P753A12D device usb:24400000 transport_id:2
    

    Then you can use qualifiers instead of serial numbers like this

    adb -s usb:26200000 install xxx.apk
    

    or with transport_id and -t

    adb -t 1 install xxx.apk
    
    0 讨论(0)
提交回复
热议问题