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

推荐订阅源

博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
美团技术团队
The Cloudflare Blog
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园_首页
F
Fortinet All Blogs
J
Java Code Geeks
人人都是产品经理
人人都是产品经理
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
爱范儿
爱范儿
Apple Machine Learning Research
Apple Machine Learning Research
B
Blog RSS Feed
博客园 - 聂微东
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
小众软件
小众软件
Y
Y Combinator Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Vercel News
Vercel News
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队

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.