{
"platformName": "Android",
"platformVersion": "10",
"deviceName": "emulator-5554",
"app": "app.apk",
"automationName": "UiAutomator2",
"androidInstallTimeout": 60000,
"androidDeviceReadyTimeout": 60000,
"androidScreenshotPath": "./screenshots/",
"androidSystemPort": 8201,
"androidSDKPath": "/path/to/android/sdk"
}
其中,"androidSDKPath"字段指定了ANDROID_HOME,修改为自己的Android SDK目录即可。