Translate this page

Run Debug Android App Over WIFI Without Root Android Studio ADB

How to debug/run/test your Android app over wifi in Android Studio

Tired of connecting and reconnecting your USB cable when you are developing android app in android studio? faulty and loose USB cables causing you headaches and limiting your development potential?

Here is a tutorial to help you connect your device to adb over wifi.

In android studio, i tried some plugins, different ones of those, to connect my android through WiFi when running and debugging, but all of those plugins did not work at all, all those plugins keep showing the message that i need connect to the same WiFi network, which i believe i did with no luck.

So i finally found a solution, it doesn’t need any plugin, just a few lines of commands in the terminal of android Studio.

 

Here are the things you need for ADB on WiFi

A WiFi enabled PC or Laptop

USB cable

Android device

Android studio of course

Functional Terminal

 

How to connect your phone to ADB  through WiFi

 

Turn on WiFi Hotspot on your Android Device and connect your computer to that WiFi

Connect your android device to your computer via USB Cable, it should be recognizd by android studio

Open the terminal window in android studio and type “adb devices” the terminal window now will show a list of devices that you attached to android studio

Now type adb tcpip 5555  in the terminal, it will now restart in tcpip mode

Now disconnect the USB cable from your PC

Go to your phone settings,and get your device IP address, it should be in the about section of your android device

 

Come back to the terminal, and enter adb connect IP:5555  in place of IP, enter your IP address, for example – 12.90.555.0. that is it. if everything go smooth, your  terminal will show the message “Connected

 

 

 

Related Posts

Get Your Own Android Mobile App for Your Website Today

Are you looking to expand your online presence and reach more customers? In today’s digital age, having a mobile app is an essential tool to connect with…

Why making an app for your website can help your business to grow

In today’s digital age, it’s more important than ever to have a strong online presence. Whether you’re running a business, a blog, or a personal website, having…

person using macbook pro on person s lap

Fix android.content.Intent.migrateExtraStreamToClipData(android.content.Context)’ on a null object reference

Here is how to Fix Android Studio Error Attempt to invoke virtual method ‘boolean android.content.Intent.migrateExtraStreamToClipData(android.content.Context)’ on a null object reference This error is caused by a number…

Android Spinner onItemSelected Listener Example

Spinner is an android UI element; it provides a drop-down List where you can choose an item from the list. You will need a listener to catch…

person in gray shirt holding a small paper with texts

Get Current Month Name in Java Android

The code below can be used to get the name of current month, for example, January, February, March etc. Just call this method and it will return…

The future of android developers is not good

Are you an android developer or looking to be an android developer? You should read this Myself is zid, I’m an android developer and been in this…

Leave a Reply

Your email address will not be published. Required fields are marked *