惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
M
MIT News - Artificial intelligence
MyScale Blog
MyScale Blog
博客园_首页
G
Google Developers Blog
博客园 - 【当耐特】
美团技术团队
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Vercel News
Vercel News
小众软件
小众软件
博客园 - 司徒正美
雷峰网
雷峰网
T
Tailwind CSS Blog
V
V2EX
博客园 - 三生石上(FineUI控件)
F
Fortinet All Blogs
罗磊的独立博客
量子位
P
Proofpoint News Feed
Microsoft Azure Blog
Microsoft Azure Blog
月光博客
月光博客
A
About on SuperTechFans
Hugging Face - Blog
Hugging Face - Blog

WMI

How to Activate MySQL for Multiple Devices - WMI ESLint Flat Config for JS, TS, React, and Prettier - WMI Yarn NPM Registry Configuration - WMI Yarn Guides - WMI How to Fill Tax Information on Google Adsense - WMI Migrate ESLint v9 for prettier typescript javascript - WMI PySide6 button click open new window - WMI PySide6 autocomplete input text - WMI Mobile Legends To The Stars Event Clue - WMI [PHP] generate random proxy IP:PORT from CIDR - WMI [PHP] generate big text file for testing purpose - WMI List of Chrome Driver command line arguments - WMI Happy eid mubarak - WMI Install markdown engine on vite ESM typescript - WMI Android Activity lifecycle - WMI OkHttp cookie handling on android (webview supported) - WMI Turn git log history into markdown - WMI enable automatic memory heap resizing of android studio - WMI is defining screen density can reduce build time ? - WMI
Set Up ADB Wireless Debugging on Android: A Full Guide - WMI
Dimas Lanjaka · 2025-02-03 · via WMI

Android Wireless Debugging is a feature that allows developers to connect their Android devices to their development environment (e.g., Android Studio) over a Wi-Fi network instead of using a physical USB cable. It provides a more convenient way to debug apps and interact with the device wirelessly.

To use it, both the Android device and the computer running Android Studio need to be connected to the same Wi-Fi network. Developers can enable wireless debugging on the Android device by going into the Developer Options menu, and then they can pair the device with Android Studio for wireless debugging sessions.

This feature is especially useful when testing apps on devices that are not easily accessible, such as when the device is mounted or located far from the computer.

To enable and pair wireless debugging in Android, follow these steps:

Step 1: Enable Developer Options

  1. Open the Settings app on your Android device.
  2. Scroll down and tap About phone.
  3. Find and tap Build number 7 times to unlock Developer Options. You may need to enter your device's PIN or password.

Step 2: Enable Wireless Debugging

  1. Once Developer Options are enabled, go back to the Settings menu.
  2. Tap System > Developer options.
  3. Find and enable Wireless debugging.

Step 3: Pair Device for Wireless Debugging

  1. In the Developer options menu, scroll down and enable Wireless debugging.

  2. Tap Pair device with pairing code.

  3. On your computer, open a terminal or command prompt and run the following command to discover your device:

    adb devices

    This will show the list of connected devices.

  4. In the Wireless Debugging section on your Android device, tap Pair device. You'll see a pairing code.

  5. On your computer, use the following command to pair the device using the code:

    adb pair <device-ip>:<port> <pairing-code>

    Replace <device-ip>, <port>, and <pairing-code> with the details from the Android device. Like below screenshoot:

    Example interface pairing wireless debugging android

  6. After pairing, you can run the following command to connect:

    adb connect <device-ip>:<port>

    Replace <device-ip> and <port> with the information provided in the pairing step.

Now, your Android device should be connected wirelessly for debugging! You can use adb commands just like you would with a wired connection.