Problem changing -port on avd while connecting to adb

107 views
Skip to first unread message

bb embedded

unread,
Sep 5, 2011, 8:29:09 AM9/5/11
to android-...@googlegroups.com
Dear all,

I have started an avd on emulator and trying to connect adb.

Avd has started on port 5556.

./adb devices
List of devices attached
emulator-5556   device

I am facing a problem while connecting to the device

# ./adb connect emulator-5556
unable to connect to emulator-5556:5555

I tried to change port.
# ./adb connect emulator-5556:5556
unable to connect to emulator-5556:5556:5556


Thanx in advance!


BB

unread,
Sep 5, 2011, 8:52:31 AM9/5/11
to android-platform
Solved!

Actually avd connected successfully with no need to change port

David Turner

unread,
Sep 5, 2011, 1:29:49 PM9/5/11
to android-...@googlegroups.com
This looks like a bug in "adb connect", you should be able to work-around it with "adb connect emulator-5556:5557"
(Two successive ports are used for each emulator instance)


Thanx in advance!


--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.

Reply all
Reply to author
Forward
0 new messages