1

I usually debug with Wifi adb. Everything work fine. But the length of devices name are big!.

It's usually are wifi IP + 5555.

I've tried this solution but devices name not change.

How to shorten that name?

Community
  • 1
  • 1
Tai Dao
  • 3,407
  • 7
  • 31
  • 54

1 Answers1

1

You can't do that, really. However, to simplify your debugging, you can define environment variable ANDROID_SERIAL with your target device name, something like:

export ANDROID_SERIAL=192.168.123.123:5555

After that, adb will connect with this device by default.

mvp
  • 111,019
  • 13
  • 122
  • 148
  • Your idea is using environments to shorten. It's not using android way but solved my problem. Thanks you so much ^^ – Tai Dao Sep 22 '13 at 10:48