運行Appium連接真機時出現(xiàn)Error killing ADB server, going to see if it's online anyway解決方法

運行Appium連接真機時出現(xiàn)Error killing ADB server, going to see if it's online anyway的解決方法

報錯信息如下:

[warn] [35m[ADB][39m The ANDROID_HOME environment variable is not set to the Android SDK root directory path. ANDROID_HOME is required for compatibility with SDK 23+. Checking along PATH for adb.[info] [35m[ADB][39m Using adb from C:\Windows\System32\adb.exe

[info] [35m[ADB][39m E:\Android-SDK\android-sdk-windows\platform-tools\adb.exe

[info] [35m[ADB][39m

[info] [35m[AndroidDriver][39m Retrieving device list

[debug] [35m[ADB][39m Trying to find a connected android device

[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway

[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway

[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway[debug] [35m[ADB][39m Getting connected devices...

[debug] [35m[ADB][39m Could not find devices, restarting adb server...

[debug] [35m[ADB][39m Restarting adb

[debug] [35m[ADB][39m Killing adb server on port 5037

[error] [35m[ADB][39m Error killing ADB server, going to see if it's online anyway

通過LOG發(fā)現(xiàn)adb重復Kill和啟動酝枢,檢測LOG發(fā)現(xiàn)調(diào)用的adb在兩個不同的路徑咖祭,刪除其中一個路徑下的設置再運行即不報錯

最后編輯于
?著作權歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末扰她,一起剝皮案震驚了整個濱河市犹赖,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌董瞻,老刑警劉巖寞蚌,帶你破解...
    沈念sama閱讀 221,635評論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件田巴,死亡現(xiàn)場離奇詭異,居然都是意外死亡挟秤,警方通過查閱死者的電腦和手機壹哺,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,543評論 3 399
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來艘刚,“玉大人管宵,你說我怎么就攤上這事∨噬酰” “怎么了箩朴?”我有些...
    開封第一講書人閱讀 168,083評論 0 360
  • 文/不壞的土叔 我叫張陵,是天一觀的道長秋度。 經(jīng)常有香客問我炸庞,道長,這世上最難降的妖魔是什么荚斯? 我笑而不...
    開封第一講書人閱讀 59,640評論 1 296
  • 正文 為了忘掉前任埠居,我火速辦了婚禮,結(jié)果婚禮上事期,老公的妹妹穿的比我還像新娘滥壕。我一直安慰自己,他們只是感情好刑赶,可當我...
    茶點故事閱讀 68,640評論 6 397
  • 文/花漫 我一把揭開白布捏浊。 她就那樣靜靜地躺著懂衩,像睡著了一般撞叨。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上浊洞,一...
    開封第一講書人閱讀 52,262評論 1 308
  • 那天牵敷,我揣著相機與錄音,去河邊找鬼法希。 笑死枷餐,一個胖子當著我的面吹牛,可吹牛的內(nèi)容都是我干的苫亦。 我是一名探鬼主播毛肋,決...
    沈念sama閱讀 40,833評論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼屋剑!你這毒婦竟也來了润匙?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,736評論 0 276
  • 序言:老撾萬榮一對情侶失蹤唉匾,失蹤者是張志新(化名)和其女友劉穎孕讳,沒想到半個月后匠楚,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 46,280評論 1 319
  • 正文 獨居荒郊野嶺守林人離奇死亡厂财,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 38,369評論 3 340
  • 正文 我和宋清朗相戀三年芋簿,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片璃饱。...
    茶點故事閱讀 40,503評論 1 352
  • 序言:一個原本活蹦亂跳的男人離奇死亡与斤,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出荚恶,到底是詐尸還是另有隱情幽告,我是刑警寧澤,帶...
    沈念sama閱讀 36,185評論 5 350
  • 正文 年R本政府宣布裆甩,位于F島的核電站冗锁,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏嗤栓。R本人自食惡果不足惜冻河,卻給世界環(huán)境...
    茶點故事閱讀 41,870評論 3 333
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望茉帅。 院中可真熱鬧叨叙,春花似錦、人聲如沸堪澎。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,340評論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽樱蛤。三九已至钮呀,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間昨凡,已是汗流浹背爽醋。 一陣腳步聲響...
    開封第一講書人閱讀 33,460評論 1 272
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留便脊,地道東北人蚂四。 一個月前我還...
    沈念sama閱讀 48,909評論 3 376
  • 正文 我出身青樓,卻偏偏與公主長得像哪痰,于是被迫代替她去往敵國和親遂赠。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當晚...
    茶點故事閱讀 45,512評論 2 359

推薦閱讀更多精彩內(nèi)容

  • It's Monday. Chapter 9: Rainy Sunday Rainy Sunday afterno...
    Mr_Oldman閱讀 351評論 0 0
  • 一晌杰、問題描述 當使用跨域jsonp接口時跷睦。referer屬性是前臺接口告訴服務器該接口的域名,而后臺可以對應設置請...
    許小花花閱讀 4,766評論 5 0
  • 昨天就在考慮要不要看《流浪貓鮑勃》乎莉,早晨起來上班時還在糾結(jié)送讲,覺得看電影好像是在浪費時間奸笤,不知道是有點感冒還...
    錢小米Christina閱讀 151評論 0 0
  • 自勝者強 如何成為戰(zhàn)勝自己的人 一直在探索與反思,自己而立之年各種得失哼鬓,成敗监右。最重要的總結(jié)是自己都犯了年輕人都犯的...
    恒祥_1b4a閱讀 161評論 0 1
  • [common] server_addr = *.*.*.* #已安裝好frp服務端frps的服務器Ip地址 se...
    寒夏史塔克閱讀 229評論 0 0