Operating system, versions of the system as follows:
desired_caps={}
desired_caps["platformName"]="Android"
desired_caps["platformVersion"]="8.1"
desired_caps["deviceName"]="Android Emulator"
app Application: package name (unique identifier), an inlet activity
Obtain the application package name and entry activity of aapt command: aapt dump badging apk application name
desired_caps["appPackage"]="包名"
desired_caps["appActivity"]=""
Establish a connection with appium
webdriver.Remote("http://127.0.0.1:4723/wd/",desired_caps)
adb devices to see if the connection to the phone