Hi, been getting this error for a while now, does anyone know how to fix it?
Operating System
Windows 10 Pro
Katalon Studio version
Tested it in versions: 8.4.1, 8.4.0 and 8.3.5
Environment (for Mobile testing)
- Appium version - 1.20.2
- Mobile platform/version under test: Android 7.1.2
- Real device or emulator/simulator: Real device made by the company i work at
java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Cannot activate 'com.app.mobox.homologacao'. Original error: Error executing adbExec. Original error: 'Command 'C:\\Users\\engsoft_v\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s 192.168.151.146\:5555 shell monkey -p com.app.mobox.homologacao -c android.intent.category.LAUNCHER 1' exited with code 251'; Stderr: '** SYS_KEYS has no physical keys but with factor 2.0%.'; Code: '251'
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'SWEDA-ENGSOFT5', ip: '192.168.56.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_282'
Driver info: com.kms.katalon.core.appium.driver.SwipeableAndroidDriver
Capabilities {appActivity: .Settings, appPackage: com.android.settings, autoGrantPermissions: true, automationName: uiautomator2, chromedriverPort: 63296, databaseEnabled: false, desired: {appActivity: .Settings, appPackage: com.android.settings, autoGrantPermissions: true, automationName: uiautomator2, chromedriverPort: 63296, deviceId: 192.168.151.146:5555, deviceName: Sweda Morion (Android 7.1.2), newCommandTimeout: 1800, platform: ANDROID, platformName: android, platformVersion: 7.1.2, systemPort: 8266, udid: 192.168.151.146:5555}, deviceApiLevel: 25, deviceId: 192.168.151.146:5555, deviceManufacturer: Sweda, deviceModel: Morion, deviceName: 192.168.151.146:5555, deviceScreenDensity: 160, deviceScreenSize: 1280x800, deviceUDID: 192.168.151.146:5555, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 1800, pixelRatio: 1, platform: ANDROID, platformName: Android, platformVersion: 7.1.2, statBarHeight: 24, systemPort: 8266, takesScreenshot: true, udid: 192.168.151.146:5555, viewportRect: {height: 728, left: 0, top: 24, width: 1280}, warnings: {}, webStorageEnabled: false}
Session ID: 6264a0f8-7f56-4175-9761-2cba4aec371d
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:49)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12.run(MobileLocalAppComposite.java:488)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Cannot activate 'com.app.mobox.homologacao'. Original error: Error executing adbExec. Original error: 'Command 'C:\\Users\\engsoft_v\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s 192.168.151.146\:5555 shell monkey -p com.app.mobox.homologacao -c android.intent.category.LAUNCHER 1' exited with code 251'; Stderr: '** SYS_KEYS has no physical keys but with factor 2.0%.'; Code: '251'
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'SWEDA-ENGSOFT5', ip: '192.168.56.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_282'
Driver info: com.kms.katalon.core.appium.driver.SwipeableAndroidDriver
Capabilities {appActivity: .Settings, appPackage: com.android.settings, autoGrantPermissions: true, automationName: uiautomator2, chromedriverPort: 63296, databaseEnabled: false, desired: {appActivity: .Settings, appPackage: com.android.settings, autoGrantPermissions: true, automationName: uiautomator2, chromedriverPort: 63296, deviceId: 192.168.151.146:5555, deviceName: Sweda Morion (Android 7.1.2), newCommandTimeout: 1800, platform: ANDROID, platformName: android, platformVersion: 7.1.2, systemPort: 8266, udid: 192.168.151.146:5555}, deviceApiLevel: 25, deviceId: 192.168.151.146:5555, deviceManufacturer: Sweda, deviceModel: Morion, deviceName: 192.168.151.146:5555, deviceScreenDensity: 160, deviceScreenSize: 1280x800, deviceUDID: 192.168.151.146:5555, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 1800, pixelRatio: 1, platform: ANDROID, platformName: Android, platformVersion: 7.1.2, statBarHeight: 24, systemPort: 8266, takesScreenshot: true, udid: 192.168.151.146:5555, viewportRect: {height: 728, left: 0, top: 24, width: 1280}, warnings: {}, webStorageEnabled: false}
Session ID: 6264a0f8-7f56-4175-9761-2cba4aec371d
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.execute(SwipeableAndroidDriver.java:1)
at io.appium.java_client.CommandExecutionHelper.execute(CommandExecutionHelper.java:27)
at io.appium.java_client.InteractsWithApps.activateApp(InteractsWithApps.java:165)
at io.appium.java_client.InteractsWithApps.activateApp(InteractsWithApps.java:149)
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startExistingApp(MobileInspectorController.java:144)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12$1.call(MobileLocalAppComposite.java:500)
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.startThreadAndWait(ProgressMonitorDialogWithThread.java:36)
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:48)
... 2 more