[Mobile] Start Existing Application

I am facing the same Driver Info issue about SwipableAndroid Driver and here is the requested result of the command.

C:\Users\abcdxxx.katalon\tools\android_sdk\platform-tools>adb shell monkey -p com.maestrohealth.mbenefits.uat -c android.intent.category.LAUNCHER
bash arg: -p
bash arg: com.maestrohealth.mbenefits.uat
bash arg: -c
bash arg: android.intent.category.LAUNCHER
args: [-p, com.maestrohealth.mbenefits.uat, -c, android.intent.category.LAUNCHER]
arg: “-p”
arg: “com.maestrohealth.mbenefits.uat”
arg: “-c”
arg: “android.intent.category.LAUNCHER”
data=“com.maestrohealth.mbenefits.uat”
data=“android.intent.category.LAUNCHER”
** Error: Count not specified
usage: monkey [-p ALLOWED_PACKAGE [-p ALLOWED_PACKAGE] …]
[-c MAIN_CATEGORY [-c MAIN_CATEGORY] …]
[–ignore-crashes] [–ignore-timeouts]
[–ignore-security-exceptions]
[–monitor-native-crashes] [–ignore-native-crashes]
[–kill-process-after-error] [–hprof]
[–match-description TEXT]
[–pct-touch PERCENT] [–pct-motion PERCENT]
[–pct-trackball PERCENT] [–pct-syskeys PERCENT]
[–pct-nav PERCENT] [–pct-majornav PERCENT]
[–pct-appswitch PERCENT] [–pct-flip PERCENT]
[–pct-anyevent PERCENT] [–pct-pinchzoom PERCENT]
[–pct-permission PERCENT]
[–pkg-blacklist-file PACKAGE_BLACKLIST_FILE]
[–pkg-whitelist-file PACKAGE_WHITELIST_FILE]
[–wait-dbg] [–dbg-no-events]
[–setup scriptfile] [-f scriptfile [-f scriptfile] …]
[–port port]
[-s SEED] [-v [-v] …]
[–throttle MILLISEC] [–randomize-throttle]
[–profile-wait MILLISEC]
[–device-sleep-time MILLISEC]
[–randomize-script]
[–script-log]
[–bugreport]
[–periodic-bugreport]
[–permission-target-system]
COUNT

Hi @caotuyen610882009 I got the same problem.

Execution order:
Mobile.startExistingApplication("com.mypackage")
androidDriver.resetApp()

@Katalon_team, any solution?

Please add below 2 lines before using method:

RunConfiguration.setMobileDriverPreferencesProperty(‘appWaitActivity’, “”)
RunConfiguration.setMobileDriverPreferencesProperty(‘appWaitPackage’, “”)
Mobile.startExistingApplication()

will work