刚开始使用 appium,参考了论坛的帖子进行安装使用(参考贴:http://testerhome.com/topics/645)。
基础环境已搭建:

操作系统:windows7
appium 版本:0.18.1

运行是报以下错误:
error: Failed to start an Appium session, err was: Error: Activity used to start app doesn't exist! Make sure it exists
info: Error: Activity used to start app doesn't exist! Make sure it exists
at null. (C:\Users\jianglf\AppData\Roaming\npm\node_modules\appium\lib\devices\android\adb.js:1105:19)
at C:\Users\jianglf\AppData\Roaming\npm\node_modules\appium\lib\devices\android\adb.js:155:5
at ChildProcess.exithandler (child_process.js:635:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
info: Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Activity used to start app doesn't exist! Make sure it exists)","origValue":"Activity used to start app doesn't exist! Make sure it exists"},"sessionId":null}

请各位帮忙看看,是否需要更改 adb.js 的代码?


↙↙↙阅读原文可查看相关链接,并与作者交流