# Unable to launch main activity error

**URL:** <https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [January 26, 2018, 12:53pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066 "2018-01-26T12:53:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jamie\_Andrews](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Jamie\_Andrews](https://forum.katalon.com/u/Jamie_Andrews)\
**Post date:** [January 26, 2018, 12:53pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/1 "2018-01-26T12:53:24Z")

</div>

When trying to Spy or Record on Mobile Android app I keep getting the error

Unable to start application on this device. An unknown server-side error occurred while processing the command. Error occurred while starting app. Original error ‘com.webroot.security.MainActivity’ never started’ My app has an Agree & Continue screen that starts first outside of the Main Activity. The app launches to this screen but then I receive the error. Any ideas on how I can fix this?

My Devices are the Asus Zenphone V, LG G6, Nokia 6, and Google Pixel XL  
Katalon Version - 5.2.0.1 and 5.3.0

---

<div class="post-metadata">

**Author:** ![Jamie\_Andrews](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Jamie\_Andrews](https://forum.katalon.com/u/Jamie_Andrews)\
**Post date:** [January 26, 2018, 1:04pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/2 "2018-01-26T13:04:52Z")

</div>

Here is the console output

01-26-2018 05:58:32 AM - [START] - Start Test Case : Test Cases/Android/Device Lock  
01-26-2018 05:58:32 AM - [INFO] - Evaluating variables for test case  
01-26-2018 05:58:32 AM - [START] - Start action : startApplication  
01-26-2018 05:58:32 AM - [INFO] - Starting app at: ‘C:\Users\Jamie\OneDrive - Webroot\Webroot\Automation\Appium\consumer-free-release\consumer-free-release.apk’  
01-26-2018 05:58:32 AM - [INFO] - User set preference: [‘deviceId’, ‘H8AKCX023339PKB’]  
[Appium] Welcome to Appium v1.7.2  
[Appium] Non-default server args:  
[Appium] port: 65168  
[Appium] loglevel: info  
[Appium] chromeDriverPort: 65169  
[Appium] tmpDir: C:\Users\Jamie\AppData\Local\Temp\Katalon\Appium\Temp1516971512832  
[Appium] Appium REST http interface listener started on 0.0.0.0:65168  
01-26-2018 05:58:40 AM - [INFO] - Appium server started on port 65,168  
[HTTP] --\> GET /wd/hub/status {}  
[HTTP] \<-- GET /wd/hub/status 200 13 ms - 72  
[HTTP] --\> POST /wd/hub/session {“desiredCapabilities”:{“app”:“C:\Users\Jamie\OneDrive - Webroot\Webroot\Automation\Appium\consumer-free-release\consumer-free-release.apk”,“autoGrantPermissions”:true,“automationName”:“uiautomator2”,“deviceId”:“H8AKCX023339PKB”,“deviceName”:“asus ASUS\_A006 7.0”,“fullReset”:true,“newCommandTimeout”:1800,“noReset”:false,“platform”:“ANDROID”,“platformName”:“Android”,“udid”:“H8AKCX023339PKB”},“capabilities”:{“desiredCapabilities”:{“app”:“C:\Users\Jamie\OneDrive - Webroot\Webroot\Automation\Appium\consumer-free-release\consumer-free-release.apk”,“autoGrantPermissions”:true,“automationName”:“uiautomator2”,“deviceId”:“H8AKCX023339PKB”,“deviceName”:“asus ASUS\_A006 7.0”,“fullReset”:true,“newCommandTimeout”:1800,“noReset”:false,“platform”:“ANDROID”,“platformName”:“Android”,“udid”:“H8AKCX023339PKB”},“firstMatch”:[{“platformName”:“android”}]}}  
[Appium] Merged W3C capabilities {“desiredCapabilities”:{“app”:"C:\Users\Jamie… into desiredCapabilities object {“app”:"C:\Users\Jamie\OneDrive - Webroot\W…  
[Appium] Creating new AndroidUiautomator2Driver (v0.11.0) session  
[Appium] Capabilities:  
[Appium] app: C:\Users\Jamie\OneDrive - Webroot\Webroot\Automation\Appium\consumer-free-release\consumer-free-release.apk  
[Appium] autoGrantPermissions: true  
[Appium] automationName: uiautomator2  
[Appium] deviceId: H8AKCX023339PKB  
[Appium] deviceName: asus ASUS\_A006 7.0  
[Appium] fullReset: true  
[Appium] newCommandTimeout: 1800  
[Appium] noReset: false  
[Appium] platform: ANDROID  
[Appium] platformName: android  
[Appium] udid: H8AKCX023339PKB  
[BaseDriver] The following capabilities were provided, but are not recognized by appium: deviceId, platform.  
[BaseDriver] Session created with session id: 1dce3fe2-9840-4f25-a1b2-4fead6ed1d96  
[BaseDriver] Using local app ‘C:\Users\Jamie\OneDrive - Webroot\Webroot\Automation\Appium\consumer-free-release\consumer-free-release.apk’  
[AndroidDriver] Java version is: 1.8.0\_102

[ADB] Checking whether adb is present  
[ADB] Using adb.exe from C:\Users\Jamie.katalon\tools\android\_sdk\platform-tools\adb.exe  
[AndroidDriver] Retrieving device list  
[AndroidDriver] Using device: H8AKCX023339PKB  
[ADB] Checking whether adb is present  
[ADB] Checking whether aapt is present  
[ADB] Using aapt.exe from C:\Users\Jamie.katalon\tools\android\_sdk\build-tools\27.0.3\aapt.exe  
[ADB] Extracting package and launch activity from manifest  
[ADB] Getting device platform version  
[ADB] Checking whether aapt is present  
[AndroidDriver] setDeviceLanguageCountry requires language or country.  
[AndroidDriver] Got language: ‘null’ and country: ‘null’  
[ADB] Checking whether aapt is present  
[ADB] Checking whether aapt is present  
[AndroidDriver] Screen already unlocked, doing nothing  
[ADB] com.webroot.security was successfully uninstalled  
[ADB] Using apksigner.bat from C:\Users\Jamie.katalon\tools\android\_sdk\build-tools\27.0.3\apksigner.bat  
[AndroidDriver] Remote apk path is /data/local/tmp/a8d794d08f5b0fa0e9666f6aa79ce0d4.apk  
[AndroidDriver] Apk is not yet installed  
[AndroidDriver] installing apk from remote  
[AndroidDriver] Clearing out any existing remote apks with the same hash  
[ADB] com.webroot.security was not uninstalled, because it was not present on the device  
[ADB] Checking whether aapt is present  
[ADB] Extracting package and launch activity from manifest  
[UiAutomator2] Starting uiautomator2 server v0.3.0  
[UiAutomator2] Running command: ‘adb -s H8AKCX023339PKB shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner’  
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online…  
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, ‘com.webroot.security/com.webroot.security.MainActivity’. Starting it ourselves  
[ADB] com.webroot.security was successfully uninstalled  
01-26-2018 05:59:51 AM - [RUN\_DATA] - Logging run data ‘deviceId’ with value ‘H8AKCX023339PKB’  
01-26-2018 05:59:51 AM - [RUN\_DATA] - Logging run data ‘deviceName’ with value ‘asus ASUS\_A006 7.0’  
01-26-2018 05:59:51 AM - [RUN\_DATA] - Logging run data ‘deviceModel’ with value ‘ASUS\_A006’  
01-26-2018 05:59:51 AM - [RUN\_DATA] - Logging run data ‘deviceManufacturer’ with value ‘asus’  
01-26-2018 05:59:51 AM - [RUN\_DATA] - Logging run data ‘deviceOS’ with value ‘Android’  
01-26-2018 05:59:51 AM - [RUN\_DATA] - Logging run data ‘deviceOSVersion’ with value ‘7.0’  
01-26-2018 05:59:51 AM - [FAILED] - Unable to start app at: ‘C:\Users\Jamie\OneDrive - Webroot\Webroot\Automation\Appium\consumer-free-release\consumer-free-release.apk’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: ‘com.webroot.security.MainActivity’ never started (WARNING: The server did not provide any stacktrace information)  
Command duration or timeout: 69.68 seconds  
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’  
System info: host: ‘DESKTOP-BLGQ541’, ip: ‘10.8.176.27’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_102’  
Driver info: driver.version: SwipeableAndroidDriver)  
01-26-2018 05:59:51 AM - [END] - End action : startApplication  
01-26-2018 05:59:51 AM - [FAILED] - Test Cases/Android/Device Lock FAILED because (of) Unable to start app at: ‘C:\Users\Jamie\OneDrive - Webroot\Webroot\Automation\Appium\consumer-free-release\consumer-free-release.apk’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: ‘com.webroot.security.MainActivity’ never started (WARNING: The server did not provide any stacktrace information)  
Command duration or timeout: 69.68 seconds  
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’  
System info: host: ‘DESKTOP-BLGQ541’, ip: ‘10.8.176.27’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_102’  
Driver info: driver.version: SwipeableAndroidDriver)  
01-26-2018 05:59:51 AM - [END] - End Test Case : Test Cases/Android/Device Lock

---

<div class="post-metadata">

**Author:** ![Sandeep\_Kumar1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/sandeep_kumar1/32/23869_2.png) [@Sandeep\_Kumar1](https://forum.katalon.com/u/Sandeep_Kumar1)\
**Post date:** [February 15, 2018, 9:20am UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/3 "2018-02-15T09:20:00Z")

</div>

Hi Katalon Team,

I am also getting the same error. Can you please check any fix for it

Thanks

---

<div class="post-metadata">

**Author:** ![Mirza\_Hebib](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@Mirza\_Hebib](https://forum.katalon.com/u/Mirza_Hebib)\
**Post date:** [February 15, 2018, 9:28am UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/4 "2018-02-15T09:28:24Z")

</div>

Hi there!! Also i have this problem when trying to spy my mobile phone for testing. Appium is installed but this problems occurs allways when starting application on phone.[http://http//prntscr.com/if0a49](http://http://prntscr.com/if0a49)

---

<div class="post-metadata">

**Author:** ![Aleksandra\_Pavlyshin](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@Aleksandra\_Pavlyshin](https://forum.katalon.com/u/Aleksandra_Pavlyshin)\
**Post date:** [February 15, 2018, 3:06pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/5 "2018-02-15T15:06:25Z")

</div>

```auto
Hello all,
 
I think I had a similar issue:
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.xxx.app/...SplashActivity'. Starting it ourselves
I was also getting the same error when trying to run the app in Appium. 
But there is a workaround in specifying the desired capability 
in Appium and in Katalon Studio 
(Project/Settings/Execution/Default/Mobile/Android):
"appWaitActivity": "*"

This setting helped me, and I was able to run my mobile app.

```

[scr-2018-02-15\_18-01-32.png](https://s3.amazonaws.com/katalon-forum/editor/2n/i7ysz1gex2vi.png)

---

<div class="post-metadata">

**Author:** ![Prashanth\_Thiruvasku](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/prashanth_thiruvasku/32/702_2.png) [@Prashanth\_Thiruvasku](https://forum.katalon.com/u/Prashanth_Thiruvasku)\
**Post date:** [May 17, 2018, 9:34pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/6 "2018-05-17T21:34:05Z")

</div>

> [Aleksandra Pavlyshina](https://forum.katalon.com/profile/4170/Aleksandra%20Pavlyshina) said:
> 
> ```auto
> Hello all,
> 
> ```

I think I had a similar issue:  
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, ‘com.xxx.app/…SplashActivity’. Starting it ourselves  
I was also getting the same error when trying to run the app in Appium.  
But there is a workaround in specifying the desired capability  
in Appium and in Katalon Studio  
(Project/Settings/Execution/Default/Mobile/Android):  
“appWaitActivity”: “\*”

This setting helped me, and I was able to run my mobile app.

> ```auto
> 
>   
> 
> ```

Thanks for sharing this resolution . It worked for me 🙂

---

<div class="post-metadata">

**Author:** ![Ctof](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ctof/32/6099_2.png) [@Ctof](https://forum.katalon.com/u/Ctof)\
**Post date:** [May 27, 2018, 7:47pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/7 "2018-05-27T19:47:42Z")

</div>

> Aleksandra Pavlyshina said:
> 
> ```auto
> Hello all,
> 
> ```

I think I had a similar issue:  
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, ‘com.xxx.app/…SplashActivity’. Starting it ourselves  
I was also getting the same error when trying to run the app in Appium.  
But there is a workaround in specifying the desired capability  
in Appium and in Katalon Studio  
(Project/Settings/Execution/Default/Mobile/Android):  
“appWaitActivity”: “\*”

This setting helped me, and I was able to run my mobile app.

> ```auto
> 
>   
> 
> ```

Great ! It worked for me too. It’s driving me nuts !  
Where did you get this trick ?  
Thank you very much for the help.

---

<div class="post-metadata">

**Author:** ![Abhinav](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@Abhinav](https://forum.katalon.com/u/Abhinav)\
**Post date:** [November 12, 2018, 4:41pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/8 "2018-11-12T16:41:38Z")

</div>

> [Aleksandra Pavlyshina](https://forum.katalon.com/profile/4170/Aleksandra%20Pavlyshina) said:
> 
> ```auto
> Hello all,
> 
> ```

I think I had a similar issue:  
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, ‘com.xxx.app/…SplashActivity’. Starting it ourselves  
I was also getting the same error when trying to run the app in Appium.  
But there is a workaround in specifying the desired capability  
in Appium and in Katalon Studio  
(Project/Settings/Execution/Default/Mobile/Android):  
“appWaitActivity”: “\*”

This setting helped me, and I was able to run my mobile app.

> ```auto
> 
>   
> 
> ```

Thanks for sharing, It worked for me

---

<div class="post-metadata">

**Author:** ![delvisecheverria](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@delvisecheverria](https://forum.katalon.com/u/delvisecheverria)\
**Post date:** [February 27, 2019, 2:06am UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/9 "2019-02-27T02:06:41Z")

</div>

Hello Guys!  
Hello guys!  
I’m still having the similar issue:  
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, ‘com…/232…SplashActivity’. Starting it ourselves  
Another suggestion for this issue? The setting “appWaitActivity”: “\*” it’s no works for me.

---

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [February 27, 2019, 2:23am UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/10 "2019-02-27T02:23:46Z")

</div>

Hi @delvisecheverria,

A few things you could try:

1. Make sure you’re using Appium 1.8.1
2. In addition to setting the `appWaitActivity`, also set the `appWaitPackage` to your app’s package name, e.g. `com.mycompany.myapp`

If those don’t work, could you please include what you see in the Katalon console log where it lists the “Desired Capabilities”?

Hope this helps,

Chris

---

<div class="post-metadata">

**Author:** ![delvisecheverria](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@delvisecheverria](https://forum.katalon.com/u/delvisecheverria)\
**Post date:** [February 27, 2019, 5:15pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/11 "2019-02-27T17:15:15Z")

</div>

Hi @Chris_Trevarthen  
I tried what you suggest me.

1. Make sure you’re using Appium 1.8.1
2. In addition to setting the `appWaitActivity` , also set the `appWaitPackage` to your app’s package name, e.g. `com.mycompany.myapp`

its does not work to me.

My katalon console logs.

```
[35m[Appium][39m Welcome to Appium v1.8.1
[35m[Appium][39m Non-default server args:
[35m[Appium][39m port: 56127
[35m[Appium][39m loglevel: info
[35m[Appium][39m chromeDriverPort: 56128
[35m[Appium][39m tmpDir: C:\Users\DECHEV~1\AppData\Local\Temp\\Katalon\Appium\Temp1551286767141
[35m[Appium][39m Appium REST http interface listener started on 0.0.0.0:56127
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/status[39m
[35m[HTTP][39m [90m{}[39m
[35m[HTTP][39m [37m<-- GET /wd/hub/status [39m[32m200[39m [90m19 ms - 83[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/status[39m
[35m[HTTP][39m [90m{}[39m
[35m[HTTP][39m [37m<-- GET /wd/hub/status [39m[32m200[39m [90m5 ms - 83[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session[39m
[35m[HTTP][39m [90m{"desiredCapabilities":{"app":"C:\\Users\\myuser\\Katalon Studio\\MobileTestProjectSample\\androidapp\\Mobileapp.apk","appWaitActivity ":"com.company.Mobileappphone","appWaitPackage":"com.company.Mobileappphone","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"samsung SM-T810 (Android 7.0)","fullReset":false,"newCommandTimeout":1800,"noReset":true,"platform":"ANDROID","platformName":"Android","udid":"3300724550441351"},"capabilities":{"desiredCapabilities":{"app":"C:\\Users\\myuser\\Katalon Studio\\MobileTestProjectSample\\androidapp\\Mobileapp.apk","appWaitActivity ":"com.company.Mobileappphone","appWaitPackage":"com.company.Mobileappphone","autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"samsung SM-T810 (Android 7.0)","fullReset":false,"newCommandTimeout":1800,"noReset":true,"platform":"ANDROID","platformName":"Android","udid":"3300724550441351"},"firstMatch":[{"platformName":"android"}]}}[39m
[35m[Appium][39m Could not parse W3C capabilities: 'deviceName' can't be blank. Falling back to JSONWP protocol.
[35m[Appium][39m The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: ["app","appWaitActivity ","appWaitPackage","autoGrantPermissions","automationName","deviceName","fullReset","newCommandTimeout","noReset","platform","platformName","udid"]. Falling back to JSONWP protocol.
[35m[Appium][39m Creating new AndroidUiautomator2Driver (v1.12.0) session
[35m[Appium][39m Capabilities:
[35m[Appium][39m app: C:\Users\myuser\Katalon Studio\MobileTestProjectSample\androidapp\Mobileapp.apk
[35m[Appium][39m appWaitActivity : com.company.Mobileappphone
[35m[Appium][39m appWaitPackage: com.company.Mobileappphone
[35m[Appium][39m autoGrantPermissions: true
[35m[Appium][39m automationName: uiautomator2
[35m[Appium][39m deviceName: samsung SM-T810 (Android 7.0)
[35m[Appium][39m fullReset: false
[35m[Appium][39m newCommandTimeout: 1800
[35m[Appium][39m noReset: true
[35m[Appium][39m platform: ANDROID
[35m[Appium][39m platformName: Android
[35m[Appium][39m udid: 3300724550441351
[35m[BaseDriver][39m The following capabilities were provided, but are not recognized by appium: appWaitActivity , platform.
[35m[BaseDriver][39m Session created with session id: 3b4e3224-36dc-4978-a3f8-62811ea3fa78
[35m[BaseDriver][39m Using local app 'C:\Users\myuser\Katalon Studio\MobileTestProjectSample\androidapp\Mobileapp.apk'
[35m[AndroidDriver][39m Java version is: 1.8.0_181
[35m[ADB][39m Checking whether adb is present
[35m[ADB][39m Found 1 'build-tools' folders under 'C:\Users\myuser\.katalon\tools\android_sdk' (newest first):
[35m[ADB][39m C:/Users/myuser/.katalon/tools/android_sdk/build-tools/28.0.2
[35m[ADB][39m Using adb.exe from C:\Users\myuser\.katalon\tools\android_sdk\platform-tools\adb.exe
[35m[AndroidDriver][39m Retrieving device list
[35m[AndroidDriver][39m Using device: 3300724550441351
[35m[ADB][39m Using the alternative activity name detection method because of: Could not find apkanalyzer.bat in C:\Users\myuser\.katalon\tools\android_sdk\platform-tools\apkanalyzer.bat,C:\Users\myuser\.katalon\tools\android_sdk\emulator\apkanalyzer.bat,C:\Users\myuser\.katalon\tools\android_sdk\tools\apkanalyzer.bat,C:\Users\myuser\.katalon\tools\android_sdk\tools\bin\apkanalyzer.bat,C:\Users\myuser\.katalon\tools\android_sdk\build-tools\28.0.2\apkanalyzer.bat. Do you have the Android SDK installed at 'C:\Users\myuser\.katalon\tools\android_sdk'?
[35m[ADB][39m Checking whether aapt is present
[35m[ADB][39m Using aapt.exe from C:\Users\myuser\.katalon\tools\android_sdk\build-tools\28.0.2\aapt.exe
[35m[ADB][39m Extracting package and launch activity from manifest
[35m[ADB][39m Package name: 'com.company.Mobileappphone'
[35m[ADB][39m Main activity name: 'md5146f6bdb715599e366c9b557dc48e893.SplashActivity'
[35m[ADB][39m Getting device platform version
[35m[ADB][39m Using apksigner.bat from C:\Users\myuser\.katalon\tools\android_sdk\build-tools\28.0.2\apksigner.bat
[35m[ADB][39m Checking whether zipalign is present
[35m[ADB][39m Using zipalign.exe from C:\Users\myuser\.katalon\tools\android_sdk\build-tools\28.0.2\zipalign.exe
[35m[ADB][39m io.appium.uiautomator2.server was successfully uninstalled
[35m[ADB][39m io.appium.uiautomator2.server.test was successfully uninstalled
[35m[AndroidDriver][39m setDeviceLanguageCountry requires language or country.
[35m[AndroidDriver][39m Got language: 'null' and country: 'null'
[35m[ADB][39m Successfully extracted 78 strings from 'C:\Users\myuser\Katalon Studio\MobileTestProjectSample\androidapp\Mobileapp.apk' resources for '(default)' configuration
[35m[UiAutomator2][39m Starting uiautomator2 server 1.12.0
[35m[UiAutomator2][39m Using UIAutomator2 server from 'C:\Users\myuser\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' and test from 'C:\Users\myuser\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[35m[UiAutomator2][39m Running command: 'adb -s 3300724550441351 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner'
[35m[UiAutomator2][39m Waiting up to 20000ms for UiAutomator2 to be online...
[35m[AndroidDriver][39m Screen already unlocked, doing nothing
[35m[UiAutomator2][39m UiAutomator2 did not start the activity we were waiting for, 'com.company.Mobileappphone/md5146f6bdb715599e366c9b557dc48e893.SplashActivity'. Starting it ourselves
```

---

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [February 27, 2019, 6:24pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/12 "2019-02-27T18:24:43Z")

</div>

Hi @delvisecheverria,

Sorry, I should have been more clear about the settings (they should have different values):

`appWaitPackage: com.company.Mobileappphone`  
`appWaitActivity: *`

Hope this helps,

Chris

---

<div class="post-metadata">

**Author:** ![troy\_1129](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@troy\_1129](https://forum.katalon.com/u/troy_1129)\
**Post date:** [March 4, 2019, 8:54am UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/13 "2019-03-04T08:54:17Z")

</div>

Hi, ive just currently downloaded the latest version of Katalon Studios on the download section of the site, after abit of tinkering around with it ive also encountered the same error as presented, I wanted to try the fixes suggested around but Ive come across a problem, I cant find a dropdown to the Execution option

 ![noExecution](https://europe1.discourse-cdn.com/katalon/original/2X/4/46c87e9a2eb31630dac807f15fbb348926e291f6.png)

---

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [March 4, 2019, 3:24pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/14 "2019-03-04T15:24:15Z")

</div>

Hi @troy_1129,

The settings you want are actually on the Desired Capabilities-\>Mobile-\>Android screen:

 ![01%20AM](https://europe1.discourse-cdn.com/katalon/original/2X/1/17d9b516d57c034aeafbf29d07df7ffaf0559a88.png)

Hope this helps,

Chris

---

<div class="post-metadata">

**Author:** ![mbee.game](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@mbee.game](https://forum.katalon.com/u/mbee.game)\
**Post date:** [June 11, 2019, 4:28am UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/15 "2019-06-11T04:28:15Z")

</div>

Hi @Chris_Trevarthen it works for me, must have 2 list desired that you mention above, thankyouuu 🙂

---

<div class="post-metadata">

**Author:** ![frngassa](https://avatars.discourse-cdn.com/v4/letter/f/a9adbd/32.png) [@frngassa](https://forum.katalon.com/u/frngassa)\
**Post date:** [January 17, 2020, 5:15pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/16 "2020-01-17T17:15:20Z")

</div>

Good Morning…  
Sorry to back with this, but trying to Record on Mobile Android app with Katalon\_Studio\_Windows\_64-6.3.3 .

I tried all your tricks but it still failed, please I’m open for all that can help me :

appium Log 🙂  
e[35m[Appium]e[39m Welcome to Appium v1.12.1  
e[35m[Appium]e[39m Non-default server args:  
e[35m[Appium]e[39m port: 53642  
e[35m[Appium]e[39m loglevel: info  
e[35m[Appium]e[39m chromeDriverPort: 53643  
e[35m[Appium]e[39m tmpDir: C:\Users\NGASLE~1\AppData\Local\Temp\Katalon\Appium\Temp1579268339455  
e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:53642  
e[35m[HTTP]e[39m e[37m–\>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m  
e[35m[HTTP]e[39m e[90m{}e[39m  
e[35m[HTTP]e[39m e[37m\<-- GET /wd/hub/status e[39me[32m200e[39m e[90m10 ms - 68e[39m  
e[35m[HTTP]e[39m e[90me[39m  
e[35m[HTTP]e[39m e[37m–\>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m  
e[35m[HTTP]e[39m e[90m{}e[39m  
e[35m[HTTP]e[39m e[37m\<-- GET /wd/hub/status e[39me[32m200e[39m e[90m2 ms - 68e[39m  
e[35m[HTTP]e[39m e[90me[39m  
e[35m[HTTP]e[39m e[37m–\>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m  
e[35m[HTTP]e[39m e[90m{“desiredCapabilities”:{“app”:“C:\Users\ngaslepro\Downloads\Telephone Simple Dialer\_v2.1\_apkpure.com.apk”,“noReset”:true,“appWaitActivity”:"_",“appWaitPackage”:“com.android.vending”,“deviceId”:“H3XDU17C05002383”,“deviceName”:“HUAWEI WAS-LX1A (Android 7.0)”,“fullReset”:false,“platform”:“ANDROID”,“newCommandTimeout”:1800,“platformVersion”:“7.0”,“automationName”:“uiautomator2”,“autoGrantPermissions”:true,“platformName”:“Android”,“udid”:“H3XDU17C05002383”,“systemPort”:53650},“capabilities”:{“firstMatch”:[{“appium:app”:“C:\Users\ngaslepro\Downloads\Telephone Simple Dialer\_v2.1\_apkpure.com.apk”,“appium:appWaitActivity”:"_",“appium:appWaitPackage”:“com.android.vending”,“appium:autoGrantPermissions”:true,“appium:automationName”:“uiautomator2”,“deviceId”:“H3XDU17C05002383”,“appium:deviceName”:“HUAWEI WAS-LX1A (Android 7.0)”,“appium:fullReset”:false,“appium:newCommandTimeout”:1800,“appium:noReset”:true,“platform”:“ANDROID”,“platformName”:“android”,“appium:platformVersion”:“7.0”,"appium:se[39m  
e[35m[BaseDriver]e[39m The capabilities [“deviceId”,“platform”] are not standard capabilities and should have an extension prefix  
e[35m[Appium]e[39m Appium v1.12.1 creating new AndroidUiautomator2Driver (v1.33.0) session  
e[35m[Appium]e[39m Capabilities:  
e[35m[Appium]e[39m deviceId: H3XDU17C05002383  
e[35m[Appium]e[39m platform: ANDROID  
e[35m[Appium]e[39m platformName: android  
e[35m[Appium]e[39m app: C:\Users\ngaslepro\Downloads\Telephone Simple Dialer\_v2.1\_apkpure.com.apk  
e[35m[Appium]e[39m appWaitActivity: \*  
e[35m[Appium]e[39m appWaitPackage: com.android.vending  
e[35m[Appium]e[39m autoGrantPermissions: true  
e[35m[Appium]e[39m automationName: uiautomator2  
e[35m[Appium]e[39m deviceName: HUAWEI WAS-LX1A (Android 7.0)  
e[35m[Appium]e[39m fullReset: false  
e[35m[Appium]e[39m newCommandTimeout: 1800  
e[35m[Appium]e[39m noReset: true  
e[35m[Appium]e[39m platformVersion: 7.0  
e[35m[Appium]e[39m systemPort: 53650  
e[35m[Appium]e[39m udid: H3XDU17C05002383  
e[35m[BaseDriver]e[39m The following capabilities were provided, but are not recognized by appium: deviceId, platform.  
e[35m[BaseDriver]e[39m Session created with session id: c206cc50-3127-4363-993e-dd343072ae4c  
e[35m[BaseDriver]e[39m Using local app ‘C:\Users\ngaslepro\Downloads\Telephone Simple Dialer\_v2.1\_apkpure.com.apk’  
e[35m[ADB]e[39m Checking whether adb is present  
e[35m[ADB]e[39m Found 1 ‘build-tools’ folders under ‘C:\Users\ngaslepro.katalon\tools\android\_sdk’ (newest first):  
e[35m[ADB]e[39m C:/Users/ngaslepro/.katalon/tools/android\_sdk/build-tools/29.0.2  
e[35m[ADB]e[39m Using adb.exe from C:\Users\ngaslepro.katalon\tools\android\_sdk\platform-tools\adb.exe  
e[35m[AndroidDriver]e[39m Retrieving device list  
e[35m[AndroidDriver]e[39m Using device: H3XDU17C05002383  
e[35m[ADB]e[39m Using the alternative activity name detection method because of: Could not find apkanalyzer.bat in C:\Users\ngaslepro.katalon\tools\android\_sdk\platform-tools\apkanalyzer.bat,C:\Users\ngaslepro.katalon\tools\android\_sdk\emulator\apkanalyzer.bat,C:\Users\ngaslepro.katalon\tools\android\_sdk\tools\apkanalyzer.bat,C:\Users\ngaslepro.katalon\tools\android\_sdk\tools\bin\apkanalyzer.bat,C:\Users\ngaslepro.katalon\tools\android\_sdk\build-tools\29.0.2\apkanalyzer.bat. Do you have the Android SDK installed at ‘C:\Users\ngaslepro.katalon\tools\android\_sdk’?  
e[35m[ADB]e[39m Checking whether aapt is present  
e[35m[ADB]e[39m Using aapt.exe from C:\Users\ngaslepro.katalon\tools\android\_sdk\build-tools\29.0.2\aapt.exe  
e[35m[ADB]e[39m Extracting package and launch activity from manifest  
e[35m[ADB]e[39m Package name: ‘com.kenzap.simple\_dialer’  
e[35m[ADB]e[39m Main activity name: ‘com.kenzap.simple\_dialer.ui.MainActivity’  
e[35m[ADB]e[39m Using apksigner.bat from C:\Users\ngaslepro.katalon\tools\android\_sdk\build-tools\29.0.2\apksigner.bat  
e[35m[UiAutomator2]e[39m Server packages are not going to be (re)installed  
e[35m[UiAutomator2]e[39m Starting UIAutomator2 server 3.4.0  
e[35m[UiAutomator2]e[39m Using UIAutomator2 server from ‘C:\Users\ngaslepro\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v3.4.0.apk’ and test from ‘C:\Users\ngaslepro\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’  
e[35m[UiAutomator2]e[39m Waiting up to 30000ms for UiAutomator2 to be online…  
e[35m[WD Proxy]e[39m Got an unexpected response: {“code”:“ECONNRESET”}  
e[35m[AndroidDriver]e[39m Screen already unlocked, doing nothing  
e[35m[UiAutomator2]e[39m UiAutomator2 did not start the activity we were waiting for, ‘com.android.vending/\*’. Starting it ourselves  
e[35m[HTTP]e[39m e[37m\<-- POST /wd/hub/session e[39me[31m500e[39m e[90m38136 ms - 1327e[39m  
e[35m[HTTP]e[39m e[90me[39m

---

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [January 25, 2020, 2:39am UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/17 "2020-01-25T02:39:59Z")

</div>

Hi @frngassa,

It looks like there is a mismatch between the Desired Capabilities, which has a setting `appWaitPackage` set to `com.android.vending` and the application you’re testing has a package `com.kenzap.simple_dialer`.

In the Desired Capabilities section for Android, can you try removing the `appWaitPackage` setting?

Hope this helps,

Chris

---

<div class="post-metadata">

**Author:** ![MM0C85041](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@MM0C85041](https://forum.katalon.com/u/MM0C85041)\
**Post date:** [February 4, 2020, 2:35am UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/18 "2020-02-04T02:35:26Z")

</div>

Hi,

I am getting below error on trying to start the mobile recorder. Can someone pease help me in resolving this?  
java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘USRIRILP00405’, ip: ‘192.168.0.107’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: SwipeableAndroidDriver  
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
at getResponseForW3CError (C:\Users\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\errors.js:804:9)  
at asyncHandler (C:\Users\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\protocol.js:388:37)  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘USRIRILP00405’, ip: ‘192.168.0.107’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: SwipeableAndroidDriver  
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:474)  
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)  
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘USRIRILP00405’, ip: ‘192.168.0.107’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: SwipeableAndroidDriver  
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: 'Command ‘C:\Users\\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall ’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
at getResponseForW3CError (C:\Users\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\errors.js:804:9)  
at asyncHandler (C:\Users\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\protocol.js:388:37)  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘USRIRILP00405’, ip: ‘192.168.0.107’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: SwipeableAndroidDriver  
at io.appium.java\_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)  
at io.appium.java\_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)  
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 org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)  
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)  
at io.appium.java\_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)  
at io.appium.java\_client.AppiumDriver.(AppiumDriver.java:84)  
at io.appium.java\_client.android.AndroidDriver.(AndroidDriver.java:85)  
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.(SwipeableAndroidDriver.java:24)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:497)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:479)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:458)  
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startMobileApp(MobileInspectorController.java:191)  
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12$1.call(MobileLocalAppComposite.java:479)  
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  
Caused by: java.lang.reflect.InvocationTargetException  
at io.appium.java\_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)  
… 22 more  
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘USRIRILP00405’, ip: ‘192.168.0.107’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: SwipeableAndroidDriver  
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
at getResponseForW3CError (C:\Users\MM0C85041\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\errors.js:804:9)  
at asyncHandler (C:\Users\MM0C85041\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\protocol.js:388:37)  
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)  
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)  
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)  
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)  
… 23 more

Appium version: v1.16.0  
Java version: “1.8.0\_241”

---

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [February 4, 2020, 3:20am UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/19 "2020-02-04T03:20:42Z")

</div>

Hi @MM0C85041,

Could you please try downgrading to Appium 1.15.1?

— Chris

---

<div class="post-metadata">

**Author:** ![MM0C85041](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@MM0C85041](https://forum.katalon.com/u/MM0C85041)\
**Post date:** [February 4, 2020, 10:50pm UTC](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066/20 "2020-02-04T22:50:32Z")

</div>

Hi Chris,

Thank you. I downgraded my appium to 1.15.1 and I don’t see that error anymore. However I see an issue while executing the test case. Could this still be an issue with the appium version?

02-04-2020 11:53:16 AM Test Cases/TC\_Feb2

Elapsed time: 18.252s

Test Cases/TC\_Feb2 FAILED.  
Reason:  
com.kms.katalon.core.exception.StepFailedException: Unable to start app at: ‘C:\Users\MM0C85041\Desktop\LG Stylo 5\minus1-tmobileRelease-1.8.12-206-e4f105d-20200120185300.signed.apk’ (Root cause: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘USRIRILP00405’, ip: ‘192.168.0.107’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: SwipeableAndroidDriver  
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
at getResponseForW3CError (C:\Users\MM0C85041\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\errors.js:804:9)  
at asyncHandler (C:\Users\MM0C85041\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\protocol.js:388:37)  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘USRIRILP00405’, ip: ‘192.168.0.107’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: SwipeableAndroidDriver  
at io.appium.java\_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)  
at io.appium.java\_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)  
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 org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)  
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)  
at io.appium.java\_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)  
at io.appium.java\_client.AppiumDriver.(AppiumDriver.java:84)  
at io.appium.java\_client.android.AndroidDriver.(AndroidDriver.java:85)  
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.(SwipeableAndroidDriver.java:24)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:497)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:479)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:458)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:372)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$\_startApplication\_closure1.doCall(StartApplicationKeyword.groovy:49)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$\_startApplication\_closure1.call(StartApplicationKeyword.groovy)  
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.startApplication(StartApplicationKeyword.groovy:51)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.execute(StartApplicationKeyword.groovy:40)  
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:72)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startApplication(MobileBuiltInKeywords.groovy:75)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startApplication.call(Unknown Source)  
at TC\_Feb2.run(TC\_Feb2:18)  
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)  
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)  
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)  
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)  
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)  
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)  
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)  
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)  
at TempTestCase1580845992873.run(TempTestCase1580845992873.groovy:23)  
Caused by: java.lang.reflect.InvocationTargetException  
at io.appium.java\_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)  
at io.appium.java\_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)  
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 org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)  
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)  
at io.appium.java\_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)  
at io.appium.java\_client.AppiumDriver.(AppiumDriver.java:84)  
at io.appium.java\_client.android.AndroidDriver.(AndroidDriver.java:85)  
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.(SwipeableAndroidDriver.java:24)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:497)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:479)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:458)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:372)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$\_startApplication\_closure1.doCall(StartApplicationKeyword.groovy:49)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$\_startApplication\_closure1.call(StartApplicationKeyword.groovy)  
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.startApplication(StartApplicationKeyword.groovy:51)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.execute(StartApplicationKeyword.groovy:40)  
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:72)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startApplication(MobileBuiltInKeywords.groovy:75)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startApplication.call(Unknown Source)  
at Script1580753126100.run(Script1580753126100.groovy:18)  
… 10 more  
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘USRIRILP00405’, ip: ‘192.168.0.107’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: SwipeableAndroidDriver  
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
at getResponseForW3CError (C:\Users\MM0C85041\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\errors.js:804:9)  
at asyncHandler (C:\Users\MM0C85041\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\protocol.js:388:37)  
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)  
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)  
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)  
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)  
… 37 more  
)  
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:50)  
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.stepFailed(MobileKeywordMain.groovy:40)  
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:23)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.startApplication(StartApplicationKeyword.groovy:51)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.execute(StartApplicationKeyword.groovy:40)  
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:72)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startApplication(MobileBuiltInKeywords.groovy:75)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startApplication.call(Unknown Source)  
at TC\_Feb2.run(TC\_Feb2:18)  
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)  
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)  
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)  
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)  
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)  
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)  
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)  
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)  
at TempTestCase1580845992873.run(TempTestCase1580845992873.groovy:23)  
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘USRIRILP00405’, ip: ‘192.168.0.107’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: SwipeableAndroidDriver  
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
at getResponseForW3CError (C:\Users\MM0C85041\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\errors.js:804:9)  
at asyncHandler (C:\Users\MM0C85041\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\protocol.js:388:37)  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘USRIRILP00405’, ip: ‘192.168.0.107’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: SwipeableAndroidDriver  
at io.appium.java\_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)  
at io.appium.java\_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)  
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 org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)  
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)  
at io.appium.java\_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)  
at io.appium.java\_client.AppiumDriver.(AppiumDriver.java:84)  
at io.appium.java\_client.android.AndroidDriver.(AndroidDriver.java:85)  
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.(SwipeableAndroidDriver.java:24)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:497)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:479)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:458)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:372)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$\_startApplication\_closure1.doCall(StartApplicationKeyword.groovy:49)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$\_startApplication\_closure1.call(StartApplicationKeyword.groovy)  
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)  
… 16 more  
Caused by: java.lang.reflect.InvocationTargetException  
at io.appium.java\_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)  
at io.appium.java\_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)  
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 org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)  
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)  
at io.appium.java\_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)  
at io.appium.java\_client.AppiumDriver.(AppiumDriver.java:84)  
at io.appium.java\_client.android.AndroidDriver.(AndroidDriver.java:85)  
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.(SwipeableAndroidDriver.java:24)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:497)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:479)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:458)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:372)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$\_startApplication\_closure1.doCall(StartApplicationKeyword.groovy:49)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$\_startApplication\_closure1.call(StartApplicationKeyword.groovy)  
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.startApplication(StartApplicationKeyword.groovy:51)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.execute(StartApplicationKeyword.groovy:40)  
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:72)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startApplication(MobileBuiltInKeywords.groovy:75)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startApplication.call(Unknown Source)  
at Script1580753126100.run(Script1580753126100.groovy:18)  
… 10 more  
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘USRIRILP00405’, ip: ‘192.168.0.107’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_181’  
Driver info: driver.version: SwipeableAndroidDriver  
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to uninstall APK. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\MM0C85041\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s LMQ7202b6688f uninstall com.tmobile.m1’ exited with code 1’; Stderr: ‘’; Code: ‘1’  
at getResponseForW3CError (C:\Users\MM0C85041\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\errors.js:804:9)  
at asyncHandler (C:\Users\MM0C85041\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\protocol.js:388:37)  
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)  
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)  
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)  
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)  
at io.appium.java\_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)  
at io.appium.java\_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)  
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 org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)  
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)  
at io.appium.java\_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)  
at io.appium.java\_client.AppiumDriver.(AppiumDriver.java:84)  
at io.appium.java\_client.android.AndroidDriver.(AndroidDriver.java:85)  
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.(SwipeableAndroidDriver.java:24)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:497)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:479)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:458)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:372)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$\_startApplication\_closure1.doCall(StartApplicationKeyword.groovy:49)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword$\_startApplication\_closure1.call(StartApplicationKeyword.groovy)  
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:21)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.startApplication(StartApplicationKeyword.groovy:51)  
at com.kms.katalon.core.mobile.keyword.builtin.StartApplicationKeyword.execute(StartApplicationKeyword.groovy:40)  
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:72)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startApplication(MobileBuiltInKeywords.groovy:75)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startApplication.call(Unknown Source)  
at TC\_Feb2.run(TC\_Feb2:18)  
… 10 more

[Next page](https://forum.katalon.com/t/unable-to-launch-main-activity-error/9066.md?page=2)
