temp
This commit is contained in:
41
docs/src/pages/adb.mdx
Normal file
41
docs/src/pages/adb.mdx
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
title: 'ADB 文档'
|
||||
description: 'Android Debug Bridge 使用指南'
|
||||
---
|
||||
|
||||
## ADB
|
||||
|
||||
这是关于 Android Debug Bridge 的文档。
|
||||
|
||||
### 常用命令
|
||||
|
||||
```bash
|
||||
adb devices
|
||||
```
|
||||
|
||||
### 安装应用
|
||||
```bash
|
||||
adb install app.apk
|
||||
```
|
||||
|
||||
### 查看设备信息
|
||||
```bash
|
||||
adb shell getprop ro.product.model
|
||||
```
|
||||
|
||||
### 暴露tcp 5555 端口
|
||||
|
||||
```bash
|
||||
adb tcpip 5555
|
||||
```
|
||||
|
||||
### 链接具体地址的 5555 端口
|
||||
|
||||
```bash
|
||||
adb connect <ip_address>:5555
|
||||
```
|
||||
### 断开连接
|
||||
|
||||
```bash
|
||||
adb disconnect <ip_address>:5555
|
||||
```
|
||||
Reference in New Issue
Block a user