There are two devices connected with my computer.But when I start the adb, both of them have the serial number "0123456789ABCDEF".
When I try to install an APK, the installation fails with "more than one device" error message.
In addition, I am developing a Bluetooth app, I need to use both of the two devices simultaneously.
Maybe I can help you, I was able to solve this issue by changing the device ID/Serial:
adb shell
cd /sys/class/android_usb/android0/
echo -n xxx > iSerial
(the xxx is the device id you want)cat iSerial
(check the new device id)To change each id, your PC should only be connected to one device via usb.