暮年|python爬虫23 | 手机,这次要让你上来自己动了( 二 )


2、JDK
java 环境 , Android需要这个环境
3、Android SDK
Android强大的开发工具包
4、Android虚拟机
可选 , 如果你用你的真鸡也可以的 , 用 usb 插入电脑就行
5、Appium
我们的主角
6、Appium-Python-Client
python客户端 , 用来连接 Appium
7、Python
python相信你早已经安装了 , 还没有安装的是猪吧?
暮年|python爬虫23 | 手机,这次要让你上来自己动了那么接下来
小帅b教你一步一步地安装起来
不同的操作系统安装方式可能有些许不同
但都差不多也就那会事
1、安装node和npm
你可以到以下链接去下载 node 安装包
然后一顿安装
windows安装的时候记得勾选 Add to path (添加到环境变量)
如果你和小帅b一样用 ubuntu 这种类 Unix 系统的话输个命令就行

sudo apt-get updatesudo apt-get install nodejs然后你输入命令 node -v
如果显示版本号就说明你成功安装 node 了
xiaoshuaib@xiaoshuaib:~$ node -vv10.15.3安装 node 过程中同时也安装了 npm 了
输入 npm -v 有显示版本好的话说明你安装好了 npm
xiaoshuaib@xiaoshuaib:~$ npm -v6.4.12、安装JDK
你可以到以下链接去下载 jdk
根据你的系统自行选择相应的 jdk
暮年|python爬虫23 | 手机,这次要让你上来自己动了安装完成之后记得配置好 Java 环境变量
如何配置 jdk 环境变量就不在这里说了
因为不同的系统配置方式不同
你可以自行 Google
暮年|python爬虫23 | 手机,这次要让你上来自己动了在你的终端输入 javac, 如果你得到如下的东西说明你成功安装好 jdk 和 配置好环境了
xiaoshuaib@xiaoshuaib:~$ javacUsage: javac where possible options include:-gGenerate all debugging info-g:noneGenerate no debugging info-g:{lines,vars,source}Generate only some debugging info-nowarnGenerate no warnings-verboseOutput messages about what the compiler is doing-deprecationOutput source locations where deprecated APIs are used-classpathSpecify where to find user class files and annotation processors-cpSpecify where to find user class files and annotation processors-sourcepathSpecify where to find input source files-bootclasspathOverride location of bootstrap class files-extdirs Override location of installed extensions-endorseddirs Override location of endorsed standards path-proc:{none,only}Control whether annotation processing and/or compilation is done....3、安装Android SDK
有些小伙伴可能之前没开发过 Android
不过没关系
Android SDK 是 Android 开发的工具包
下载方式和 JDK 类似
可以到以下链接去下载 sdk
#downloads
暮年|python爬虫23 | 手机,这次要让你上来自己动了如果你打不开这个链接的话


推荐阅读