# Error trying to write mobile automation

**URL:** <https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [May 3, 2019, 8:26pm UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467 "2019-05-03T20:26:51Z")\
**Posts on this page:** 11\
**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 3, 2019, 8:26pm UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467/1 "2019-05-03T20:26:51Z")

</div>

Hello everyone, good afternoon!

I am having a big problem, when I try to record the steps in the mobile application, it is giving error I do not know for what reason, could you help me?

follows error that is being generated.

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

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/4/4f53013e05aa0b2267ab3c354ea2e8cdb5973ed0.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 3, 2019, 9:03pm UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467/2 "2019-05-03T21:03:28Z")

</div>

Hi @Yan_Reis,

Can you confirm that you’re using Appium Server version 1.8.1 (or Appium Desktop 1.6.3)? You can check this by running on the command line:

` appium -v`

Here are some other troubleshooting tips that may be helpful:

> [@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…

– 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 3, 2019, 10:03pm UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467/3 "2019-05-03T22:03:47Z")

</div>

yes, it is in the last version of apium and last version of katalon

---

<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 3, 2019, 11:22pm UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467/4 "2019-05-03T23:22:49Z")

</div>

![image](https://europe1.discourse-cdn.com/katalon/original/2X/d/dadf393dd38ab2daef6418fde0f8c98345787f3c.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 4, 2019, 1:55am UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467/5 "2019-05-04T01:55:26Z")

</div>

Hi @Yan_Reis,

You mentioned that you’re using the latest version of Katalon Studio, as well. Is that version 6.1.3? If it is, I don’t think the version of Katalon Studio is compatible with the version of Appium you have installed.

Here are some compatible versions:

Appium Server 1.8.1 and Katalon Studio 6.1.3

[Appium Desktop 1.6.3](https://github.com/appium/appium-desktop/releases/tag/v1.6.3) and Katalon Studio 6.1.3

Appium Server 1.8.2-beta and Katalon Studio 6.1.3

Appium Server 1.12.1 and [Katalon Studio 6.2.0 beta](http://forum.katalon.com/t/katalon-studio-version-6-2-0-rc1-with-experimental-support-for-ios-12-2-and-xcode-10-2/21716?u=chris_trevarthen)

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 4, 2019, 2:02am UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467/6 "2019-05-04T02:02:20Z")

</div>

I installed the compatible version, so when I’m browsing the application, it gives the following message

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/3/31038c06ac8c9bd5e722399156acd506042945d4.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 4, 2019, 2:07am UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467/7 "2019-05-04T02:07:47Z")

</div>

Hi @Yan_Reis,

You can try setting the `appWaitActivity` as mentioned in this post:

> [@Unable to start app at the desired location-Android Mobile](http://forum.katalon.com/t/unable-to-start-app-at-the-desired-location-android-mobile/22688/7):
>
> Hi Chris\_Trevarthen, I am glad to tell you that I finally succeeded in running my test suite after about a month’s hardwork slight_smile I ran the test suite in real device and it worked out finally.Following are my observations, (not sure if these were causing problem). I turned off my ‘Windows Firewall Security’. 2.As read in one of the forums, I just set appWaitActivity = \* And this pretty much worked out. Thanks alot for your kind help and assistance throughout my phase. Regards, …

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 4, 2019, 2:18am UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467/8 "2019-05-04T02:18:49Z")

</div>

I already added “appWaitActivity” only that the app opens and after a short period it closes, I am using Vysor emulator, advise to use some other? What can it be that it’s closing?

---

<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 6, 2019, 2:27am UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467/9 "2019-05-06T02:27:20Z")

</div>

Hi @Yan_Reis,

I haven’t worked with Vysor before, so I don’t know if it has any known issues. Are you able to install Android Studio and try installing an emulator through Android Studio instead?

– 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 6, 2019, 11:54am UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467/10 "2019-05-06T11:54:09Z")

</div>

Good morning, Chris.

I am emulating on my particular device, I managed to solve the problem of recording the steps, but at the time of execution it is giving error I do not know what the problem, check me this new post, why will I close?

> [@Problem in executing mobile test case](http://forum.katalon.com/t/problem-in-executing-mobile-test-case/24507):
>
> 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. Origi…

---

<div class="post-metadata">

**Author:** ![nosi.mobile](https://avatars.discourse-cdn.com/v4/letter/n/ecb155/32.png) [@nosi.mobile](https://forum.katalon.com/u/nosi.mobile)\
**Post date:** [May 6, 2019, 3:30pm UTC](https://forum.katalon.com/t/error-trying-to-write-mobile-automation/24467/11 "2019-05-06T15:30:37Z")

</div>

katalon studio stopped working after updating to 6.1.3  
why it say is missed this file appium-uiautomator2-server-debug-androidTest.apk?

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