Pits record Android Studio uses ADB WiFi plug-in for real-computer wireless debugging

Source: Internet
Author: User

Always use the simulator, the slag memory is not affordable, and the simulator version is mostly stopped at 4.4, unable to reflect the Android 5.0, 6.0 version features, so decided to use the plug-in Android Studio to achieve real-computer wireless debugging.

The steps are as follows:

1. Turn on the USB debug mode: Connect the phone to the computer via USB cable, turn on the USB debugging, the steps are as follows: (Take Meizu PRO6, flyme5.2.3.0a for example)

Connect your phone to your computer---> Settings---> Accessibility---> Developer options--->USB debugging (turn this option on)

2. Install the ADB WiFi plugin: Open settings--->plugins in android Studio, search for and add adb WiFi and restart Android Studio to complete the plugin installation process;

3. Development debug mode set to USB Device

<1> Click on the app--->edit configurations in the Android Studio interface ... (as shown),

<2> after performing the above steps into the Run/debug configurations interface, set Target to USB Device;

4. Turn on the Infinite debugging function: Make sure the phone opens the USB debug mode, connect it to the computer with the data cable, click ADB USB to WIFI (as shown),

If your Android Studio has a status bar similar to the red box marker in the lower left corner, you can unplug the data cable for debugging.

5. If you use the Wireless Debug phone function next time you turn on Android Studio again, you need to perform the 4th step again.

Limited to my limited ability, the above content is inevitably flawed and flawed, you are welcome to put forward valuable comments or suggestions in the comment area.

Pits record Android Studio uses ADB WiFi plug-in for real-computer wireless debugging

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.