Hi all, I was playing trying to run an emulator remotely, and I thing
I stumbled upon a bug (?or maybe something I dont get?)
abd seems to parse wrong the params passed to it...

Here are some examples:
...:~/android/android-sdk-linux_x86/tools$ ./emulator -avd testdev -
port 5554 -report-console tcp:42001,server &
[4] 7610
...:~/android/android-sdk-linux_x86/tools$ ifconfig |grep addr
eth0      Link encap:Ethernet  HWaddr 00:50:8d:bc:b0:e3
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:
255.255.255.0
...
...:~/android/android-sdk-linux_x86/tools$ ./adb connect
192.168.1.5:42001
unable to connect to 192.168.1.5:42001:42001

(why is it  192.168.1.5:42001:42001 ?)

...:~/android/android-sdk-linux_x86/tools$ ./adb connect
127.0.0.1:42001
connected to 127.0.0.1:42001

(???? localhost worked just fine)

Furthermore

...:~/android/android-sdk-linux_x86/tools$ ./emulator -avd
PegDevice16MB -port 5558 -report-console tcp:5555,server &
[4] 7819
...:~/android/android-sdk-linux_x86/tools$ ./adb connect 192.168.1.5
unable to connect to 192.168.1.5:5555
(ok, now it is 192.168.1.5:5555 .... but still didnt work...)

...:~/android/android-sdk-linux_x86/tools$ ./adb connect localhost
connected to localhost:5555

Nick

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to