Android Wireless Debugging

Android Wireless Debugging

For an android developer mobile data cable is very important for debugging or running project on real device, but in some cases we have to use that cable for other device or for other purpose. For example

No alt text provided for this image
You have to recharge your bluetooth headphones or Power-bank may be



No alt text provided for this image
You are working on project that involves other hardware that needs data-cable at the same time.



No alt text provided for this image
You have only limited number of USB Ports and all are engaged.

In these cases i can solve your problem!

Follow the following steps & you will be able to save your usb port and cable also:

  1. Make sure your system and mobile are connected with same wifi network.
  2. Plug the cable with your phone and connect it with laptop.
  3. Open terminal and give command adb tcpip 5555
  4. Unplug the mobile cable. {Now cable and port is Free for other purpose}
  5. Open settings of your android phone -> About phone - > Status and note your IP Address.
  6. In terminal write command adb connect {your ip}:5555 and press enter e.g adb connect 192.168.1.1:5555

You will get message on terminal that "You are connected" To Verify connectivity status run command adb devices (It will show 192.169.1.1 in connected devices).

No alt text provided for this image

NOW Just press run button and you can enjoy debugging project without data cable on your android phone.

要查看或添加评论,请登录

Muhammad Intsab Haider的更多文章

  • FaceApp Controversy

    FaceApp Controversy

    From past couple of days, I am watching the controversy against #FaceApp on many Television Channels and Articles, That…

    1 条评论
  • Image Sending new Technique Suggestion!

    Image Sending new Technique Suggestion!

    Some times we don't have knowledge to discuss about something but we have some questions in our mind who makes us…

    4 条评论
  • Use Event Bus over Local Broadcast Manager (Android)

    Use Event Bus over Local Broadcast Manager (Android)

    While building android application we often need to send and receive events or messages from one activity to an other…

    5 条评论
  • Android studio vs Eclipse

    Android studio vs Eclipse

    Some one Asked me that "I am new on android and what should i select Android Studio or Eclipse?" I replied that Go to…

    6 条评论
  • Why Not To Share APK File of your Android Project.

    Why Not To Share APK File of your Android Project.

    IF YOU ARE ANDROID DEVELOPER (Read me..

    2 条评论
  • Rooting Android and its Risks.

    Rooting Android and its Risks.

    First off, what’s rooting? Rooting is a process that allows you to attain root access to the Android operating system…

社区洞察

其他会员也浏览了