appium-python|adb 和Android SDK在Mac下的环境整理
1、使用Android studio 下载安装SDK 需要配置环境变量
open .bash_profile
【appium-python|adb 和Android SDK在Mac下的环境整理】export ANDROID_HOME=/Users/用户名/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
2、只下载SDK
按照上面的设置环境变量
3、利用brew 下载adb
brew cask install android-platform-tools
Mac系统下Java环境变量
PATH后面加${PATH}
# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home
export CLASSPAHT=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=${PATH}:$JAVA_HOME/bin:$PATH
export ANDROID_HOME=/Users/xiaoyezi/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
export APPIUM_HOME=/Applications/Appium.app/Contents/Resources
export JAVA_HOME
export PATH
export CLASSPATH
推荐阅读
- 急于表达——往往欲速则不达
- Docker应用:容器间通信与Mariadb数据库主从复制
- 第三节|第三节 快乐和幸福(12)
- 20170612时间和注意力开销记录
- 2.6|2.6 Photoshop操作步骤的撤消和重做 [Ps教程]
- 对称加密和非对称加密的区别
- 眼光要放高远
- 樱花雨
- 前任
- 2020-04-07vue中Axios的封装和API接口的管理