#1 Installing the JDK
Java-version
#2 Download SDK
http://adt.android-studio.org/
Download ADT
#3 Configuring SDK Environment variables
Open terminal, enter command in sequence
Vim. Bash_profile
Add and then save in the text
Export ANDROID_HOME=/APPLICATIONS/ECLIPSE/SDK
Export path= $PATH: $ANDROID _home/platform-tools: $ANDROID _home/tools
Where Android_home is the path for the downloaded SDK
Then enter the command in the terminal
source. bash_profile
environment variable settings OK, now try to enter the ADB return in the terminal window, do not show command not found is the success
#4 Installing Appium
DMG Program:
Official Download: http://appium.io/
Domestic Download: Http://pan.baidu.com/s/1jGvAISu (recommended)
#5 Installing Appium-python-client
In the terminal window, enter the command:
Pip Install Appium-python-client
At this point enter Python3 in the terminal, and then enter the import Appium, if not an error stating that the installation was successful
#6 Configuring appt Environment variables
aapt_home=/users/du/library/android/sdk/build-tools/25.0.0
Export Aapt_home
Export path= $PATH: $AAPT _home
Note that aapt_home can be the path to any version of the build-tools of your SDK
Use AAPT dump badging <apk path> to view the APK information
Appium automated test environment based on Python language in MAC OS environment