Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of Wireless debugging under Android Studio

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the relevant knowledge of "methods of wireless debugging under Android Studio". The editor shows you the operation process through actual cases. The operation method is simple, fast and practical. I hope this article "methods of wireless debugging under Android Studio" can help you solve the problem.

Method 1: use the Android Studio plug-in

Android Studio is powerful, and a variety of plug-ins allow Android Studio to handle a variety of situations.

1.adb wifi

Click Ctrl+Alt+S to open the Setting of Android Studio, and enter adb wifi in the search box

Select adb wifi and restart Studio after the installation is complete.

Note: adb wifi supports version 2.1 of Studio, which may not be supported if your Studio version is too high.

After restarting Studio, first connect to the phone using a data cable, click adb restart, and then click adb usb to wifi

If the Studio version is too high, the following will occur

If you want to download and install the corresponding Studio again, you will not post the success case.

2.Android wifi adb

Also use the same method to install Android wifi adb. Remember to read the update log when installing.

Of course, the interface of the Android Wifi adb plug-in is more friendly and the operation is relatively simple.

The effect picture after success

There are two mobile phones in Android Monitor. Unplug the USB cable and leave the real phone connected through wifi, so you can take off.

Method 2: using instruction to connect channel length is more likely to use instruction connection, which forces the height of the channel to be high.

Instruction interpretation:

Adb tcpip + port number: the port number here can be typed freely, but the occupied port number cannot be used.

Adb connect + IP address + port number: IP address is the IP address of the phone, and the port number is the port number you just applied for.

It's over here, so pay attention here:

1. Be sure to keep the usb connection normal before debugging the connection wirelessly

two。 Computers and mobile phones must be connected successfully in the same network environment (be sure to confirm)

This is the end of the content about "the method of wireless debugging under Android Studio". Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report