问题描述:执行ui自动化时 再打开应用时报错
Server版本:1.4.0release
Agent版本与部署方式:1.4.0release --jar包部署
手机型号与系统版本:小米12 安卓11
截图:
相关日志:
异常信息: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Cannot activate 'com.bybit.com'. Original error: Error executing adbExec. Original error: 'Command '/Users/bj00177ml/Desktop/android-sdk-macosx/platform-tools/adb -P 5037 -s 23538883 shell monkey -p com.bybit.com -c android.intent.category.LAUNCHER 1' exited with code 252'; Command output: args: [-p, com.bybit.com, -c, android.intent.category.LAUNCHER, 1] arg: "-p" arg: "com.bybit.com" arg: "-c" arg: "android.intent.category.LAUNCHER" arg: "1" data="com.bybit.com" data="android.intent.category.LAUNCHER" Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'Mac-mini.local', ip: 'fe80:0:0:0:10e7:6963:2247:2b29%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.3.1', java.version: '18.0.1.1' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {adbExecTimeout: 7200000, automationName: UIAutomator2, browserName: , chromedriverChromeMappingFile: webview/version.json, chromedriverExecutableDir: webview, databaseEnabled: false, desired: {adbExecTimeout: 7200000, automationName: UIAutomator2, browserName: , chromedriverChromeMappingFile: webview/version.json, chromedriverExecutableDir: webview, disableSuppressAccessibilityService: true, goog:chromeOptions: {androidProcess: com.tencent.mm:tools, args: [], extensions: []}, newCommandTimeout: 7200, noReset: true, platformName: android, recreateChromeDriverSessions: true, skipLogcatCapture: true, systemPort: 52245, udid: 23538883, uiautomator2ServerInstallTimeout: 600000}, deviceApiLevel: 30, deviceManufacturer: OnePlus, deviceModel: LE2110, deviceName: 23538883, deviceScreenDensity: 480, deviceScreenSize: 1080x2400, deviceUDID: 23538883, disableSuppressAccessibilityService: true, goog:chromeOptions: {androidProcess: com.tencent.mm:tools, args: [], extensions: []}, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 7200, noReset: true, pixelRatio: 3, platform: LINUX, platformName: ANDROID, platformVersion: 11, recreateChromeDriverSessions: true, skipLogcatCapture: true, statBarHeight: 103, systemPort: 52245, takesScreenshot: true, udid: 23538883, uiautomator2ServerInstallTimeout: 600000, viewportRect: {height: 2062, left: 0, top: 103, width: 1080}, warnings: {}, webStorageEnabled: false} Session ID: fe3131ab-0959-4bc8-98c4-2017fc2c4210