Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADB, Wifi and Eclipse: how I can configure?

Recently I see that is possible to debug app development by use WIFI instead of USB debug method. I make a search and I found an app called abdWireless but I have a problem.

How I can tell to Eclipse to connect via Wifi method?

I think that it is an automatic process, but on start debug it open the Emulator.

Someone? :) Bye

like image 525
David Rodrigues Avatar asked May 20 '11 08:05

David Rodrigues


People also ask

What is WIFI ADB config ini?

Android WIFI ADB is a plugin available in Android Studio that helps you to connect your system to devices over a Wi-Fi network. It allows you to quickly connect your Android device over Wi-Fi by pressing one button, to install, run, and debug your applications without a USB connection.


1 Answers

First, run 'adb connect ip:port', like adb connect <phone-ip-address>, from console/terminal (with your IP address and port of cause). This makes adb service to connect to your device via network. Port 5555 is used by default if no port number is specified.

Then check that device is correctly connected: run adb devices from console/terminal (make sure you remove usb cable from device). If adb devices does not list your device, then you have some entirely different issue.


If you've connected your device via adb and you can see the device in adb devices list, but your eclipse still starts emulator,:

  1. Go to Run->Debug Configuration -> [your configuration]
  2. In your configuration go to Target tab and select Manual

enter image description here

This will popup device selection each time you start the app from eclipse. So you will be able to explicitly state which emulator/device to use.

To disconnect your device, adb disconnect <phone-ip-address>

like image 61
inazaruk Avatar answered Oct 09 '22 21:10

inazaruk