配置appium开发环境

个人配置 os x 10.10.5 jdk 1.8.0 Xcode7.2 Android studio1.5.1
folk 一份https://github.com/appium/appium.git到本身的本身的github下,clone到本地node

Make sure you have ant, maven, adb installed and added to system PATH, also you would need the android-16 sdk (for Selendroid) and android-19 sdk installed. From your local repo’s command prompt, install the following packages using the following commands (if you didn’t install node using homebrew, you might have to run npm with sudo privileges):android

根据要求
须要安装npm,而后先为了方便先安装homebrew,这个自动安装以后就brew install npm brew install ant
而后执行cd appium ./reset.sh --verbose报错
Error: Target id is not valid. Use 'android list targets' to get the target ids.
而后更新Android SDK 16(selendroid模式须要) 19,至少更新这两个吧.git

Warning: Command failed: /bin/sh -c mvn clean package -DskipTests=true

这个问题也是须要 Android SDK 16
而后再执行命令,遇到其余问题再查吧,幸亏个人就直接成功了
---- reset.sh completed successfully ----github