1. 程式人生 > >android adb wifi除錯方法,usb用於otg除錯。

android adb wifi除錯方法,usb用於otg除錯。

android adb網路除錯 Android中使用WIFI來連線ADB 簡單

windows下進入android的終端:直接cmd->adb shell

在ubuntu下進入android的終端與windows下稍微不同,步驟: 1、ubuntu下開啟一個終端 2、進入android sdk的platform-tools的目錄下 3、啟動shell 。輸入命令:sudo ./adb shell 即可

在電腦上操作:

1:usb連線接手機

[email protected]:~# adb tcpip 5555 restarting in TCP mode port: 5555 2:拔掉手機

[email protected]:~# adb connect 192.168.0.44:5555 connected to 192.168.11.117:5555 3: [email protected]:~# adb shell dmesg(可以使用adb了) 檢視dmesg或者ls/dev/video0裝置。如果沒有root許可權,/system/bin/su檔案不存在,需要獲取root許可權後才可以使用dmesg。

---------------------