安装jdk、sdk
https://www.cnblogs.com/hong-fithing/p/11475812.html
appium inspector-用于定位元素
https://github.com/appium/appium-inspector/releases
appium server-用于发送和处理请求
https://github.com/appium/appium-desktop
使用inspector
https://zhuanlan.zhihu.com/p/625079695
{
"platformName": "Android",
"appium:platformVersion": "13",
"appium:deviceName": "L7Y9Q8RC5LDQAERO",
"appium:appPackage": "com.android.systemui",
"appium:appActivity": ".usb.UsbDebuggingActivity",
"appium:ignoreHiddenApiPolicyError": "true",
"appium:noReset": "true"
}
获取package和activity的adb 命令
adb shell dumpsys activity activities