当前位置:网站首页>[solo π] ADB connects multiple mobile phones
[solo π] ADB connects multiple mobile phones
2022-06-26 14:40:00 【daisyr07】
【soloπ】adb Connect a single, multiple phones
Prerequisite :
1. The data line is connected and on the same network
- Use USB Connect your mobile phone to your computer with a cable , And ensure that the mobile phone and the computer are in the same LAN
- To real wireless debugging , Must be used for the first time USB The data line can be set up before wireless debugging
2. Mobile phone opens developer mode
- Click the system version number several times , Until developer mode is turned on
- Find developer mode in more settings , And enter
- Find the debug section , Turn on USB debugging , Wireless debugging ,USB Installation and other settings , Different systems , It should be different , Just watch it .
3. Computer download ADB
https://developer.android.google.cn/studio/releases/platform-tools
After downloading, download in CMD Input in ADB The command still doesn't work , Need configuration ADB Environmental Science
4. To configure ADB Environmental Science
1. Right click “ My computer ” → Select Properties , Click Advanced System Settings
2. Enter system properties , choice “ environment variable ”
3. Get into “ environment variable ” , find “ System variables ” , choice “Path” , Click edit
4. Create a new path , This path is the path of the folder you downloaded and unzipped
5. open CMD, Input
adb version. Display the following, which can be used adb Instructions

Single equipment use
1. Use ADB Instructions
- Use instruction Open the port
adb tcpip “ Port number ”( The port number is usually 5555) - Use instruction
adb connect “IP Address : Port number ” (IP There is a colon between the address and the port : )- ip Address check : Execute the order first
adb shell netcfgThen execute the orderadb shell ifconfig rmnet0
- ip Address check : Execute the order first
2. After successful connection , but USB The cable hasn't been pulled out yet , Show two devices , The first is through USB Identify to , The second is through WIFI Identify to , But it's all the same phone ; Pull out USB After the line , Show only one device , Namely WIFI Connected mobile phone
Use of multiple devices
1. Use ADB Instructions
The first cell phone
- Use instruction
adb devicesdevice The former is the equipment number - Use instruction
adb -s “ Device number ” tcpip “ Port number ”The port number is usually 5555 - Use instruction
adb connect “IP Address : Port number ”(IP There is a colon between the address and the port : )
Second cell phone
- Use instruction
adb devicesdevice The former is the equipment number - Use instruction
adb -s “ Device number ” tcpip “ Port number ” - Use instruction
adb connect “IP Address : Port number ”(IP There is a colon between the address and the port : )
2. Pull out USB Behind data line , There are two mobile devices available
Refer to the website :https://www.cnblogs.com/luos66/p/15788271.html
边栏推荐
- 量化框架backtrader之一文读懂observer观测器
- Combat readiness mathematical modeling 31 data interpolation and curve fitting 3
- 【使用yarn运行报错】The engine “node“ is incompatible with this module.
- DOS command
- Hard (magnetic) disk (II)
- IP certificate application process of sectigo
- Lucky numbers in the matrix
- Research on balloon problem
- Excerpt from three body
- 2021-10-29 atcoder ABC157——B - Bingo
猜你喜欢

ArcGIS batch export layer script

C语言刷题随记 —— 乒乓球比赛

How to personalize VIM editor format (DIY)

Hard (magnetic) disk (I)

Naacl2022: (code practice) good visual guidance promotes better feature extraction, multimodal named entity recognition (with source code download)

MySQL主从复制与读写分离

PostGIS create spatial database

C language | Consortium

Sword finger offer 45.61 Sort (simple)

Stream常用操作以及原理探索
随机推荐
Atcoder 238
From Celsius to the three arrows: encrypting the domino of the ten billion giants, and drying up the epic liquidity
Deploy the flask environment using the pagoda panel
Recent important news
Electron
Extended hooks
Oracle11g database import and export method tutorial [easy to understand]
datasets Dataset类(2)
Sword finger offer 15.65.56 I 56Ⅱ. Bit operation (simple - medium)
方程推导:二阶有源带通滤波器设计!(下载:教程+原理图+视频+代码)
登录认证服务
Electron
Pychar remotely connects to the server to run code
Summary of decimal point of amount and price at work and pit
ArcGIS secondary development - arcpy delete layer
常用控件及自定义控件
The annual salary of 500000 is one line, and the annual salary of 1million is another line
Equation derivation: second order active bandpass filter design! (download: Tutorial + schematic + Video + code)
Atcoder bit operation & Conclusion + formula derivation
MySQL主从复制与读写分离