Skip to content
Chandima's Blog
What you think you become.

Primary

  • SAUSECODE.COM
  • Blog
  • .LinkedIn
  • .Github
  • .Hackerrank
  • .About me

How to connect devices to android studio over Wi-Fi

Chandima September 19, 2018 android, apps, blog-android, how to, learn, linux, networking, tech, tutorial adb, android, connect, how, linux, wifi

Recently i was working on a project in android studio. I prefer to use Linux as the OS when i develop android applications since it runs pretty fast in linux rather than Windows. But suddenly my laptop got stucked and i found that the reason for that is sudden mount/unmounts of the smartphone due to a problem in the USB cable i used. This was really annoying and suddenly this thought pops into my mind, “why don’t i connect this via WiFi?” because I have done pretty much the same thing in one of my previous project to manually (over terninal) push/install/unstall apks in the device. The method you need to follow is like this,

01) Make sure you have setup the environmental variables in your OS to run “adb” command. To test that just open the termial (in windows command prompt) and type adb and press enter. If you got a response from adb tool everything is okay. Otherwise, set the environmental variable depending on your OS. You can find the path to the adb tool in the following directory.

[path to your android sdk]/platform-tools/

02) The next thing you need to know is obviously the IP address of the andorid device you need to connect. After connecting to the WiFi networkj you can find the Phone’s IP address from [Settings>About phone>Status].

Now type the following command and hit enter in terminal to connect to your device.

adb connect type_the_device_ip_address_here

After that, you could see the connected device in the connected devices list in android studio 🙂

Check this Lightweight and Simple Zero-install Web Server Package - For Windows [40MB]PREV
Defold - Simple and Easy to use 2D Game Engine [Yes it is cross-platform, linux lovers <3]NEXT

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary

Search the blog!

Recent Posts

  • Familiarize with these tools before going to Industry May 8, 2021
  • How to let the scripts run in the background [ssh] June 6, 2020
  • NoSQL vs SQL Databases in a Nutshell June 5, 2020
  • SSH to a host through multiple jump hosts. [Linux] April 30, 2019
  • GNU – Octave [matlab equivalent for linux] – This is how you can install packages January 22, 2019

Categories

  • android (11)
  • applications (2)
  • apps (4)
  • arduino (2)
  • avr (1)
  • blog-android (2)
  • blog-arduino (1)
  • computer science (1)
  • database (1)
  • embedded (1)
  • emui (1)
  • games (1)
  • home made (2)
  • Honor 3c (6)
  • how to (15)
  • huawei (6)
  • java (4)
  • kali (7)
  • kitkat (1)
  • learn (10)
  • linux (11)
  • networking (6)
  • octave (1)
  • PC Apps (1)
  • pi4j (1)
  • programming (3)
  • pyqt (1)
  • python (2)
  • raspberry pi (1)
  • remote controlled (1)
  • Server (3)
  • tech (4)
  • tutorial (8)
  • Verilog (1)
  • windows (6)

Tags

2018 aero plane android Android 4.4.2 android app player android apps on windows class cross-platform file honor 3c honor 3c custom unicode honor 3c sinhala how how to how to install how to install custom unicode huawei honor 3c install custom font in honor 3c install custom unicode install unicode interfaces java kali language linux network opengl programming pyqt python remote run scripts server sinhala sinhala app sinhala for huawei sinhala installer sinhala unicode sinhala unicode for honor 3c sinhala unicode installer sinhala unicodes Sri Lanka ssh to

Archives

  • May 2021
  • June 2020
  • April 2019
  • January 2019
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • April 2018
  • March 2018
  • October 2017
  • February 2017
  • June 2016
  • July 2015
  • January 2015
  • December 2014
  • November 2014

"I hear and I forget, I see and I remember, I do and I understand." ~ Confucius

© Copyright 2020 SAUSECODE LABS | Chandima Samarasinghe