adb error: more than one device - android

<>

This question already has an answer here:

Answers


I got it

C:\Users\MBH>adb devices -l
List of devices attached
0123456789ABCDEF       device product:ZEN model:ZEN device:ZEN
0123456789ABCDEF       device product:full_gs702c model:M757 device:gs702c

Then I could use the model number for shelling

C:\Users\MBH>adb -s model:M757 shell
shell@gs702c:/ $ ls

it works now


You can run every command of adb by selecting the device by deviceID. run command to get Device Id:

adb devices

you will get the list of all available devices something like this:

<device ID> device
emulator-5554 offline

the copy the device id run commad like this:

adb -s <device ID> <your command>

example:

adb -s <device ID> tcpip 5555

OR

adb -s <device ID> forward tcp:59900 tcp:59900

this will not get the error like "more than one device/emulator"

Thanks


Need Your Help

ios8 extension and container app how to share data

ios ios8 ios-app-extension

I'm having trouble to share data between iOS 8 extension and container app.

Normal form submission vs. JSON

json post

I see advantages of getting JSON response and formatting in client side but are there any advantages by using JSON for form submission compared to normal submission?