Appium源码配置问题总结
来源:互联网 发布:ping网络命令怎么设置 编辑:程序博客网 时间:2024/05/13 11:53
接testerhome一篇总结贴,跟着后面添加一些搭建开发环境时遇到的问题。
RESETTING NPM
chromedriver安装失败
* Determining platform* Platform is mac---- Resetting / Initializing Appium ----RESETTING NPM* Installing new or updated NPM modules (including devDeps)npm WARN package.json assert@1.3.0 assert is also the name of a node core module.npm WARN package.json md5calculator@0.0.3 No repository field.npm WARN package.json path@0.11.14 path is also the name of a node core module.npm WARN package.json utf7@1.0.0 No repository field.npm WARN package.json vargs@0.1.0 No repository field.npm WARN package.json node-idevice@0.1.5 No repository field.> chromedriver@2.15.0 install /Users/wuxian/Documents/sourcecode/self/appium/node_modules/appium-chromedriver/node_modules/chromedriver> node install.jsDownloading http://chromedriver.storage.googleapis.com/2.15/chromedriver_mac32.zipSaving to /var/folders/3j/s3hfvmy572vcn3h02c_rxcbm0000gn/T/chromedriver/chromedriver_mac32.zipevents.js:85 throw er; // Unhandled 'error' event ^Error: connect ETIMEDOUT at exports._errnoException (util.js:746:11) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)npm ERR! Darwin 14.1.0npm ERR! argv "node" "/usr/local/bin/npm" "install" "."npm ERR! node v0.12.2npm ERR! npm v2.7.4npm ERR! code ELIFECYCLEnpm ERR! chromedriver@2.15.0 install: `node install.js`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the chromedriver@2.15.0 install script 'node install.js'.npm ERR! This is most likely a problem with the chromedriver package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! node install.jsnpm ERR! You can get their info via:npm ERR! npm owner ls chromedrivernpm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:npm ERR! /Users/wuxian/Documents/sourcecode/self/appium/npm-debug.log---- FAILURE: reset.sh exited with status 1 ----
原因:chromedriver被墙了
解决方法:使用vpn。
RESETTING ANDROID
ant
* Building Android bootstrapRunning "buildAndroidBootstrap" taskFatal error: Error finding ant binary, is it on your path?
原因:ant没有安装
解决方法:下载ant,并配置环境变量,然后在命令行敲ant,保证正确安装。
android sdk 16
[ERROR] After correcting the problems, you can resume the build with the command[ERROR] mvn <goals> -rf :android-driver-appreadlink: illegal option -- fusage: readlink [-n] [file ...]Warning: Command failed: /bin/sh -c mvn clean package -DskipTests=truereadlink: illegal option -- fusage: readlink [-n] [file ...] Use --force to continue.
安装android sdk 16就可以了。
0 1
- Appium源码配置问题总结
- Appium Appium 开发环境搭建 (1)--配置源码运行环境
- Mac安装appium及问题总结
- 在 Mac 上配置 Appium 问题收集
- Appium配置安装遇到的问题
- Appium总结
- Appium总结
- Appium总结
- Appium-2 Appium模拟器配置
- 【Appium】并发执行多个设备问题总结
- 用源码安装 appium
- appium环境搭建总结
- Appium总结(一):安装
- Appium常用方法总结
- appium常见问题总结
- Appium安装使用总结
- appium知识总结
- appium python总结
- C++ 调用WINDOWS图片和传真查看器打开图片
- ACdream 暴力专场B
- 百度面试题:从已排序的数组中求绝对值最小的元素
- 【学习笔记】C++中的string类详解
- eclipse中使用Maven
- Appium源码配置问题总结
- 操作系统常见的面试题整理
- stm32f10x
- 移动开发js库Zepto.js使用中的一些注意点
- ANT教程经典
- List 学习
- 程序员面试宝典(31)-从尾到头输出链表
- java程序的完整执行流程
- 程序员面试宝典——(09)-查找链表中倒数第k个结点