Android studio 經過wifi debug

使用的手機端app爲 ADB WiFi Reborn android

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

- 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 ** session

miui官方下載「開發版」,刷機後,在「安全中心」->「受權管理」內會有一項「root權限管理」,添加root權限給app。 app

在電腦端使用adb命令連接手機,默認端口爲5555,若是連接成功,在Android studio中就能看到手機,接着就正常調試了 ide

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

$ adb devices
List of devices attached
#.#.#.#:5555 device
相關文章
相關標籤/搜索