I have 2 Android devices connected via usb to my pc
now when i list devices i get this:
C:\Users\MBH>adb devices
List of devices attached
0123456789ABCDEF device
0123456789ABCDEF device
Both devices got the same serial number, or whatever this 0123456789ABCDEF means.
The problem: I am not able to do anything in this case, neither pushing or pulling files, nor forwarding tcp ports.
C:\Users\MBH>adb forward tcp:59900 tcp:59900
error: more than one device/emulator
C:\Users\MBH>adb -s 0123456789ABCDEF forward tcp:59900 tcp:59900
error: more than one device
The question: is there anyway to connect or select device in different way? like device model number or something?
You can run every command of adb by selecting the device by deviceID. run command to get Device Id:
you will get the list of all available devices something like this:
the copy the device id run commad like this:
example:
OR
this will not get the error like "more than one device/emulator"
Thanks
I got it
Then I could use the model number for shelling
it works now