Category

Short Post

Category

2 Strategies about how to run android app over WiFi in Android Studio (without Root)

Having trouble with USB debugging???

Want to reduce the usage of USB??

In this post, we will show you two methods that help you to run the app over WiFi in Android Studio.

Really ??

Yes, this is simple, efficient and it will benefit you in the long run. If you are a beginner, we recommend you to take the strategy NO:1.

Are you curious to find out what it is ??

Go on…



Strategy NO:1 – Using Android WiFi ADB plugin
What will you need

  1. USB cable – initial setup
  2. Android Wifi ADB plugin

Open Android Studio,
how to run app over wifi in android studio adb wifi 1search-plugins

  1. Click Shift key twice or search icon at the top – right side corner of the Android Studio
  2. Search “plugins
  3. Click on plugins item on the list

You can also get plugins window by File->Settings->Plugins

how to run apk over wifi in android studio

  • Now plugins window will appear, just click on “Browse repositories

how to run android app over wifi in android studio

  1. Search “Android Wifi ADB” plugin”
  2. Select “Android WiFi ADB” from plugins list”
  3. Install it.

how install Adb over wifi in android studio download-plugin

    • The plugin will be downloaded.

how to run apk over wifi in android studio 5 adb wifi

Click “Restart Android Studio“.

how to run apk over wifi in android studio adb wifi

  • Android Studio shows a notification Restart Android Studio to activate changes in plugins? Click “Yes
    • Make sure that USB debugging is fine and successfully connected with the USB cable.

how to install android app over wifi in android studio

  • After the restart, just click the Android WiFi ADB icon that besides the run button like above.how to debug android apk over wifi in Android Studio
    • Android Studio notifies with a message that your device is connected.
    • Disconnect your device, otherwise run dialog will show your device twice. one as USB device, other as WiFi device.

    how to run android apk over wifi in android studio

    • Click the run button and select your device in the run device dialog.

    how to install apk over wifi in android studio 10installing apk

    After selecting the device, it will continue to download through WiFi and install on your device.

    Strategy NO:2 – How to run your app over WiFi using ADB commands

    Sometimes, This method may difficult for you if you are a beginner. But we are just

    • connecting the device using the IP address
    • Install the app through ADB command.

    Open Android Studio,

    how to run apk over wifi in Android Studio terminal

    • Click your terminal on Android Studio, You can also use the command prompt.

    how to run apk over wifi in Android Studio adb command

    • Type “adb devices” and Press Enter key – List the devices which are connected to system.

    If your device is plugged with USB, then it will show it to you on the terminal.

    how to run apk over wifi in android studio - adb over wifi

    • Type “adb tcpip 5555” and Press Enter key.

    Now you can disconnect your device.

    how to find ip address of android device

    Find the IP address of your smart device. You can find it by Settings-> About Phone -> Status -> IP address.

    how to run apk over wifi in Android Studio - Adb over wifi 3tcp 3
    Now connect your device over wifi by running

    • adb connect <IP address of your Android Device>:5555

    that’s all. your Android device successfully connected with computer.

    how to debug apk over wifi in Android Studio - adb over wifi

    • Install apk – adb install “full location of apk”
    • adb install C:/app-debug.apk – here C:/app-debug.apk – full location of APK, I just placed the APK to C drive.

    It’s a nice technique, but we are not saying that to leave USB cables forever. It’s needed for initial setup. If your pc and Android device restart again, Then you need to use USB cables again for reidentify the device.

    Share your experiences with us and don’t forget to share.

    Thanks for scrolling…