Macaca android 模拟器运行报错

美好一点 · 2018年08月23日 · 最后由 孙某某 回复于 2018年11月27日 · 2256 次阅读

uiautomator-client.js:42:14 [master] pid:23057 /usr/local/lib/node_modules/macaca-android/node_modules/uiautomatorwd/app/build/outputs/apk/app-debug.apk not found, please resolve and reinstall android driver
responseHandler.js:56:12 [master] pid:23057 Send Error Respone to Client: Error: >> uiautomator-client.js:42:14 [master] pid:23057 /usr/local/lib/node_modules/macaca-android/node_modules/uiautomatorwd/app/build/outputs/apk/app-debug.apk not found, please resolve and reinstall android driver
responseHandler.js:62:14 [master] pid:23057 Error: >> uiautomator-client.js:42:14 [master] pid:23057 /usr/local/lib/node_modules/macaca-android/node_modules/uiautomatorwd/app/build/outputs/apk/app-debug.apk not found, please resolve and reinstall android driver
at Logger.error (/usr/local/lib/node_modules/macaca-android/node_modules/xlogger/lib/xlogger.js:169:9)
at UIAutomator.init (/usr/local/lib/node_modules/macaca-android/node_modules/uiautomatorwd/lib/uiautomator-client.js:42:14)
at UIAutomator.init.next ()
at onFulfilled (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:65:19)
at process._tickCallback (internal/process/next_tick.js:68:7)

Error: >> uiautomator-client.js:42:14 [master] pid:23057 /usr/local/lib/node_modules/macaca-android/node_modules/uiautomatorwd/app/build/outputs/apk/app-debug.apk not found, please resolve and reinstall android driver
at Logger.error (/usr/local/lib/node_modules/macaca-android/node_modules/xlogger/lib/xlogger.js:169:9)
at UIAutomator.init (/usr/local/lib/node_modules/macaca-android/node_modules/uiautomatorwd/lib/uiautomator-client.js:42:14)
at UIAutomator.init.next ()
at onFulfilled (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:65:19)
at process._tickCallback (internal/process/next_tick.js:68:7)

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 1 条回复 时间 点赞

重新安装下 macaca-andriod ,保证安装成功,会出现两个 apk 文件

详细可以参考:https://testerhome.com/topics/8618

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册