# Problem in executing mobile test case

**URL:** <https://forum.katalon.com/t/problem-in-executing-mobile-test-case/24507>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [May 5, 2019, 1:29pm UTC](https://forum.katalon.com/t/problem-in-executing-mobile-test-case/24507 "2019-05-05T13:29:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yan\_Reis](https://avatars.discourse-cdn.com/v4/letter/y/48db29/32.png) [@Yan\_Reis](https://forum.katalon.com/u/Yan_Reis)\
**Post date:** [May 5, 2019, 1:29pm UTC](https://forum.katalon.com/t/problem-in-executing-mobile-test-case/24507/1 "2019-05-05T13:29:37Z")

</div>

Hello person

I have a big problem when trying to run my mobile application, after recording all the steps (simple steps) I try to execute the application and it is not executed and not the error, I went to see in the log and had an error:

```
com.kms.katalon.core.exception.StepFailedException: Unable to start app at: 'C:\Users\yan.santos\Downloads\3.3.0.185-pa-release.apk' (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C\:\\Users\\yan.santos\\.katalon\\tools\\android_sdk\\platform-tools\\adb.exe -P 5037 -s 4fd00682 install -r -g C\:\\Users\\yan.santos\\Downloads\\3.3.0.185-pa-release.apk' exited with code 1'; Stderr: 'adb: failed to install C:\Users\yan.santos\Downloads\3.3.0.185-pa-release.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl733636462.tmp/base.apk: META-INF/CERT.SF indicates /data/app/vmdl733636462.tmp/base.apk is signed using APK Signature Scheme v2, but no such signature was found. Signature stripped?]'; Code: '1' (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 22.32 seconds
Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z'
System info: host: 'NB-002299', ip: '10.230.24.112', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181'
Driver info: driver.version: SwipeableAndroidDriver
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
	at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
	at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
	at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
	at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:89)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:600)
	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:219)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:142)
	at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38)
	at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:83)
	at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:93)
	at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:72)
	at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.<init>(SwipeableAndroidDriver.java:19)
	at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:434)
	at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:418)
	at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:369)
	at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:281)
	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:56)
	at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startApplication(MobileBuiltInKeywords.groovy:74)
	at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startApplication.call(Unknown Source)
	at Automation.run(Automation:16)
	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:336)
	at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:327)
	at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:306)
	at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:298)
	at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:232)
	at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
	at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
	at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
	at TempTestCase1557144380387.run(TempTestCase1557144380387.groovy:21)
)
	at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:48)
	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:56)
	at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.startApplication(MobileBuiltInKeywords.groovy:74)
	at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$startApplication.call(Unknown Source)
	at Automation.run(Automation:16)
	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:336)
	at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:327)
	at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:306)
	at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:298)
	at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:232)
	at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
	at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
	at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
	at TempTestCase1557144380387.run(TempTestCase1557144380387.groovy:21)
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C\:\\Users\\yan.santos\\.katalon\\tools\\android_sdk\\platform-tools\\adb.exe -P 5037 -s 4fd00682 install -r -g C\:\\Users\\yan.santos\\Downloads\\3.3.0.185-pa-release.apk' exited with code 1'; Stderr: 'adb: failed to install C:\Users\yan.santos\Downloads\3.3.0.185-pa-release.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl733636462.tmp/base.apk: META-INF/CERT.SF indicates /data/app/vmdl733636462.tmp/base.apk is signed using APK Signature Scheme v2, but no such signature was found. Signature stripped?]'; Code: '1' (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 22.32 seconds
Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z'
System info: host: 'NB-002299', ip: '10.230.24.112', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181'
Driver info: driver.version: SwipeableAndroidDriver
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
	at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
	at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
	at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
	at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:89)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:600)
	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:219)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:142)
	at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38)
	at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:83)
	at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:93)
	at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:72)
	at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.<init>(SwipeableAndroidDriver.java:19)
	at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:434)
	at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:418)
	at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:369)
	at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:281)
	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)
	... 17 more

```

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/e/ee4efabb1fc46ecb0668b580837f10fe397df315.png)

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/e/e6e59cd1aef53b0e71321fa1fd4de825af90318c.png)

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/8/87cb0c0b2db5ee9044fdeefdad0dbb0802ebfebb.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:** [May 7, 2019, 2:58am UTC](https://forum.katalon.com/t/problem-in-executing-mobile-test-case/24507/2 "2019-05-07T02:58:11Z")

</div>

Hi @Yan_Reis,

The error mentions a problem with certificate signing:

> Unable to start app at: ‘C:\Users\yan.santos\Downloads\3.3.0.185-pa-release.apk’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\yan.santos\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s 4fd00682 install -r -g C:\Users\yan.santos\Downloads\3.3.0.185-pa-release.apk’ exited with code 1’; Stderr: ‘adb: failed to install C:\Users\yan.santos\Downloads\3.3.0.185-pa-release.apk: Failure [INSTALL\_PARSE\_FAILED\_NO\_CERTIFICATES: Failed to collect certificates from /data/app/vmdl733636462.tmp/base.apk: META-INF/CERT.SF indicates /data/app/vmdl733636462.tmp/base.apk is signed using APK Signature Scheme v2, but no such signature was found. Signature stripped?]’; Code: ‘1’

From what I can tell, the APK needs to be signed to be installed on your phone but there are no valid certificates with which to sign it (or it wasn’t signed when created).

Can you rebuild the APK with signing enabled (or have a developer do so)?

Here’s some more info from people who had a similar issue:

> <https://stackoverflow.com/questions/2914105/what-is-install-parse-failed-no-certificates-error/2914769#2914769>

> <https://stackoverflow.com/questions/15636396/failure-install-parse-failed-no-certificates-when-attempting-to-install-apk-to/20878125#20878125>

> **[INSTALL\_PARSE\_FAILED\_NO\_CERTIFICATES on an already existing google play app,...](https://medium.com/@joakimforslund/install-parse-failed-no-certificates-on-an-already-existing-google-play-app-with-keystore-and-e1e66159579b)**
>
> Today i’ve spent the entire day on tracking down a very very bad issue happening with the latest ‘com.android.tools.build:gradle:2.1.0’….

Hope this helps,

Chris

---

<div class="post-metadata">

**Author:** ![Yan\_Reis](https://avatars.discourse-cdn.com/v4/letter/y/48db29/32.png) [@Yan\_Reis](https://forum.katalon.com/u/Yan_Reis)\
**Post date:** [May 7, 2019, 1:03pm UTC](https://forum.katalon.com/t/problem-in-executing-mobile-test-case/24507/3 "2019-05-07T13:03:25Z")

</div>

It is increasingly difficult to use katalon, every time it is a different error, before I could record the steps, now I can not even get it anymore, and my katalon is in the current version with appium 1.8.1, I am almost removing the tool from the company and doing not pure, I just had these problems with mobile automation.

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/b/bde6c11d082d6b1627d8a0e6ee728ff14295f02c.png)

I have already used the procedure that is contained in this post.

unsuccessfully!

My colleague next door can execute normally and I do not.

> [@Troubleshooting Exceptions on Mobile - (Recommended: KS 7.x + Appium 1.15.1)](http://forum.katalon.com/t/troubleshooting-exceptions-on-mobile-appium-1-8-1-is-recommended/20285):
>
> Mobile Testing Exception Troubleshooting Tips Here are some common troubleshooting steps to take when you encounter errors trying to spy, record, or execute a mobile test in Katalon Studio: If you see one of the following exceptions, you should check your Appium installation: Execution Exception NullPointerException “java.util.HashMap cannot be cast to org.openqa.selenium.WebElement” “Unable to parse remote response” “Support for xcode 0.1 is not supported. please upgrade to version 7.3 or h…

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:49am UTC](https://forum.katalon.com/t/problem-in-executing-mobile-test-case/24507/4 "2022-08-08T07:49:08Z")

</div>


