項目場景:
`
項目場景:因需要無線調(diào)試(adb)
問題描述
adb 在已經(jīng)連接上的情況下提示設(shè)備離線:文章來源:http://www.zghlxwxcb.cn/news/detail-564775.html
C:\Users\Administrator>adb tcpip 5555
restarting in TCP mode port: 5555
C:\Users\Administrator>adb connect 10.0.0.21
already connected to 10.0.0.21:5555
C:\Users\Administrator>adb shell
adb.exe: device offline
解決方案:
1.這時可以先斷開連接再連,可能就好了文章來源地址http://www.zghlxwxcb.cn/news/detail-564775.html
C:\Users\Administrator>adb disconnect 10.0.0.21
disconnected 10.0.0.21
C:\Users\Administrator>adb connect 10.0.0.21
connected to 10.0.0.21:5555
C:\Users\Administrator>adb shell
**2.**
或者重新插入調(diào)試線(數(shù)據(jù)線),再次設(shè)置端口號adb tcpip 555,拔掉數(shù)據(jù)線 再連接無線調(diào)試:
adb connect 10.0.0.21
到了這里,關(guān)于【ADB無線調(diào)試】提示already connected to 成功連接,,adb shell 卻提示設(shè)備離線 adb.exe: device offline的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!