解决:A new session could not be created. (Original error: Could not extract PIDs from ps output. PI...

先看报错:
image.png
解决方法:

appium安装目录下\node_modules\appium\node_modules\appium-adb\lib 目录下的adb.js加入一行代码,可以用Ctrl+f搜索方法


image.png
加入的代码如下:
image.png

你可能感兴趣的:(解决:A new session could not be created. (Original error: Could not extract PIDs from ps output. PI...)