美文网首页
运行Appium连接真机时出现Error killing ADB

运行Appium连接真机时出现Error killing ADB

作者: 绿萝花香 | 来源:发表于2018-11-09 14:37 被阅读0次

    运行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连接真机时出现Error killing ADB

          本文链接:https://www.haomeiwen.com/subject/jpisxqtx.html