1、打开appium,并连接
2、配置启动项
{ "deviceName": "emulator-5554", "platformName": "Android", "platformVersion": "11", "appPackage": "com.android.calculator2", "appActivity": "com.android.calculator2.Calculator", "noReset": true }
3、点击元素获取ID值