AndroidStudio WiFi debugging plug-ins

Foreword

  Cipian blog is part of Android studio plug-in articles, the subsequent time I will introduce more AndroidStudio facilitate the development of plug-ins. Android device with WiFi via adb debugging is usually connected in the past, but this play equipment need Root privileges. Very troublesome Fortunately, there is a device does not require Root to complete debugging plugins wifi on Android studio.

The first step to download the plug

  Find the File> Settings> Plugins> in the menu bar AndroidStudio waiting list of plug-in Click refresh Marketplace> wifi and enter the search plug-in, select the ADB WIFI (list there are many other wifi debugging tools, do not wrong) Install installation. Download after completing the need to restart AndroidStudio

 

 

After the download is complete install the plugin, you need to restart Android studio

 

 

Step two devices connected to USB and WiFi connection

  You will need your device connected to the computer USB, the next steps need to be performed to complete the wifi handover command adb

  In addition long-winded remind you. WiFi network devices connected to the network should be in your local area network connected to the computer next .... (there is no way to ensure that you can try at any time using the usb WiFi)

 

The third step is to open the tool

  In the menu bar, find the Tools> Select ADB WIFI> ADB USB to WIFI

 

The fourth step check their device IP address

   We need to know the IP address of the follow-up operation on the device, after you connect the device to the WiFi, you can find the System> About phone> Status information> IP address in view the current network IP address of the device (domestic phone into other settings directory, find the patience or can find)

The fifth step debug connection

  Open the Android studio comes cmd Terminal

(1) adb connect 192.XXX (your phone's wifi ip address) (adb disconnect 192.XXX disconnected)
(2) If unable to connect to 192.XXX, enter tcpip 5555 adb
(3) and then reconnected, enter connect 192.XXX:5555 adb
(4) and then open your app, to see whether to print the log, if any, proof positive connection is successful, then you can unplug the cable
(5) if the next time you use a wireless phone debug function again, you need to the implementation of point 3 again

Figure:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

end

Guess you like

Origin www.cnblogs.com/guanxinjing/p/11403959.html