写在前面:

模拟启动淘宝APP时,报错找不到:“ A new session could not be created. (Original error: No app set; either start appium with --app or pass in an 'app' value in desired capabilities, or set androidPackage to launch pre-existing app on device)”;找了很久的原因;写在这里给自己留个笔记。

原代码上图:

注意黄色的框,这个错还是其它大神找到的

运行时报错:A new session could not be created

APPIUM运行日志:

""No app set""

运行时报错:A new session could not be created

app的包名无法识别,导致无法创建新的session; 当然无法创建的session的原因 有很多种,查找问题原因的过程 中,发现如下链接:总结了几个出现的原因。

http://www.cnblogs.com/wujianqinjian/p/7767947.html

PS:查找原因的时候,要找到根因;

 

相关文章:

  • 2021-11-10
  • 2021-08-07
  • 2022-12-23
  • 2021-06-15
  • 2021-12-04
  • 2022-12-23
  • 2021-06-10
  • 2021-12-03
猜你喜欢
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2021-11-23
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案