发布于 4年前

运行Appium连接真机时出现Error killing ADB server, going to see if it's online anyway解决方法

运行Appium连接真机时出现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发现adb重复Kill和启动,检测LOG发现调用的adb在两个不同的路径,删除其中一个路径下的设置再运行即不报错

相关文章

Appium 连接手机

©2020 edoou.com   京ICP备16001874号-3