1、android sdk 下载安装
下载地址:https://www.androiddevtools.cn/index.html#
选择版本:android sdk【sdk tools:installer_r24.4.1-windows.exe】
参考步骤:https://blog.csdn.net/2401_83004375/article/details/139300339
2、jdk 安装自行百度
3、mumu 安装+安装淘宝app
下载地址:MuMu模拟器官网_安卓12模拟器_网易手游模拟器


4、appium桌面版下载+安装+配置
官网地址下载:http://navo.top/6RZjim
如下配置自动的

5、连接mumu模拟器
cmd[实在不行就管理员身份]
连接模拟器:adb connect 127.0.0.1:7555
查看设备列表命令:adb devices

6、启动appium+配置模拟器


{
"platformName": "Android",
"platformVersion": "12",
"deviceName": "127.0.0.1:7555",
"appPackage": "com.taobao.taobao",
"appActivity": "com.taobao.tao.welcome.Welcome",
"noRest": true
}
deviceName用mumu里面的模拟器名字也可以:
{
"platformName": "Android",
"platformVersion": "12",
"deviceName": "oppo-12",
"appPackage": "com.taobao.taobao",
"appActivity": "com.taobao.tao.welcome.Welcome",
"noRest": true
}


注意
appPackage和appActivity获取:
cmd->adb logcat | findstr START-》去mumu里点击淘宝

