monkeyrunner环境配置
monkeyrunner环境配置:
1、jdk环境配置:
(1)安装JDK
![](https://upload-images.jianshu.io/upload_images/11014677-e7baf774a377db30.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/471)
安装路径为:
![](https://upload-images.jianshu.io/upload_images/11014677-bb0985e775123d3b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/681)
(2)在系统变量中新增:注意“;”
.;%JAVA_HOME%\lib;
%JAVA_HOME%\bin;
![](https://upload-images.jianshu.io/upload_images/11014677-7d236e7c7f47e3c1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/397)
(3)验证是否配置成功:doc命令行分别输入java和java -version
![](https://upload-images.jianshu.io/upload_images/11014677-5842dba21819dfb9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/525)
![](https://upload-images.jianshu.io/upload_images/11014677-ca56a9f895c2ff4a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/628)
2、android sdk环境配置:点击可前往下载与查看
环境验证:
![](https://upload-images.jianshu.io/upload_images/11014677-39c84f6e3a0f9673.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/638)
3、python编辑器安装
(1)下载并安装python:
http://dl.pconline.com.cn/html_2/1/79/id=2082&pn=0&linkPage=1.html
安装路径:
![](https://upload-images.jianshu.io/upload_images/11014677-0342439d92ba4b31.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/686)
(2)python环境变量配置:在系统变量path后增加python的安装路径,注意”;”
![](https://upload-images.jianshu.io/upload_images/11014677-a474c5fe44fd3583.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/452)
(3)检查是否配置完成:
![](https://upload-images.jianshu.io/upload_images/11014677-43749605548572e5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/640)
4、至此,monkeyrunner环境搭载完毕
检查是否配置完成:
![](https://upload-images.jianshu.io/upload_images/11014677-1eb9698b43ff4695.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/631)