ADB over Wi-Fi
2024-10-20 06:17:01
ADB over Wi-Fi
1.root
$adb root
2.设置tcp端口并重启tcpip服务
$adb shell setprop persist.adb.tcp.port && adb tcpip
3.连接
$adb connect <the target ip>
注意电脑与手机在同一网络下。
4.官方教程
https://developer.android.com/guide/topics/connectivity/usb/index.html
When debugging applications that use USB accessory or host features, you most likely will have USB hardware connected to your Android-powered device. This will prevent you from having an adb
connection to the Android-powered device via USB. You can still access adb
over a network connection. To enable adb
over a network connection:
- Connect the Android-powered device via USB to your computer.
- From your SDK
platform-tools/
directory, enteradb tcpip 5555
at the command prompt. - Enter
adb connect <device-ip-address>:5555
You should now be connected to the Android-powered device and can issue the usualadb
commands likeadb logcat
. - To set your device to listen on USB, enter
adb usb
.
最新文章
- Linux网络编程-IO复用技术
- tmux简单使用指南
- linux之间文件传输问题
- Spark Programming--Transformations
- 为PHP开发者准备的12个调试工具
- matlab常用小函数(二)
- Jena 简介:通过 Jena Semantic Web Framework 在 Jave 应用程序中使用 RDF 模型
- 201521123048 《Java程序设计》第7周学习总结
- APP上传APP Store遇到的各种问题
- GIT入门笔记(16)- 分支创建和管理
- JAVA 创建对象4种方法
- C++第一课:基本语法for Visual Studio 2015[个人见解]
- Golang 入门 : 配置代理
- 汇编语言--微机CPU的指令系统(五)(位操作指令)
- java分页实现
- Python网络编程-IO阻塞与非阻塞及多路复用
- elasticsearch 安装配置详解
- VC++SDK编程——字体及位置示例
- FFT 深夜摸鱼小笔记
- 【leetcode刷题笔记】Distinct Subsequences
热门文章
- sanic官方文档解析之streaming(流动,滚动)和class_based_views(CBV的写法)
- A nonrecursive list compacting algorithm
- Scaling with Microservices and Vertical Decomposition
- Python 中的字节与字节数组
- C/C++ 操作符优先级
- phpexcel导出后乱码或者是打不开文件必须修复的问题
- eclipse4.3 解决没有check out as maven project
- 开发工具、Object类(java基础知识十一)
- codeforces 691F F. Couple Cover(组合计数)
- 分段控制器--UISegmentedControl 基本用法