首页 新闻 会员 周边

appium运行客户端报错无法创建新对话Activity从未启动

0
[待解决问题]

pycham报错为:
selenium.common.exceptions.SessionNotCreatedException: Message: A new session could not be created. (Original error: net.newmine.im.app/.module.welcome.SplashActivity never started. Current: net.newmine.im.app/.module.main.MessageActivity)

appium报错为:
error: Failed to start an Appium session, err was: Error: net.newmine.im.app/.module.welcome.SplashActivity never started. Current: net.newmine.im.app/.module.main.MessageActivity

网上百度的回答都是覆盖了以前的用例,已经勾选了appium中override Existing session但是并没有任何卵用
代码最后也添加了driver.quit()或driver.close(),但是并没有什么效果

对了,我还把nodejs、appium、jdk、android环境都卸载重新安装了一遍,还是不行

我真的是绝望了,就差重新装系统了,已经折磨我好久了,环境有时候能运行起来有时候不能,现在是一直运行不起来

有哪位大神路过,给小弟指点一下迷津,不胜感激

-Stranger的主页 -Stranger | 菜鸟二级 | 园豆:210
提问于:2019-05-17 18:09
< >
分享
所有回答(1)
0

appium版本要与chromedriver版本相匹配

ycyzharry | 园豆:25653 (高人七级) | 2019-05-18 21:09
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册