Android studio 通过wifi debug

使用的手机端app为 ADB WiFi Reborn

Instructions (I assume you have ADB installed in the PC):

- Execute this application in your android device
- Click the bug image until it becomes green (you provably need to provide superuser permissions)
- Open a terminal or command session in your PC
- execute "adb connect XX.XX.XX.XX" in the PC (the connect address is provided by my application
- execute "adb shell" in the PC (or any ADB command)

** Remember to activate USB debugging in device settings **
** THIS APP REQUIRES SUPERUSER PERMISSIONS **

miui官方下载“开发版”,刷机后,在“安全中心”->“授权管理”内会有一项“root权限管理”,添加root权限给app。

在电脑端使用adb命令链接手机,默认端口为5555,如果链接成功,在Android studio中就能看到手机,接着就正常调试了

$ adb connect #.#.#.#
connected to #.#.#.#:5555

$ adb devices
List of devices attached
#.#.#.#:5555 device



转载于:https://my.oschina.net/u/588339/blog/516855

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值