# Cannot spy/record application

**URL:** <https://forum.katalon.com/t/cannot-spy-record-application/19565>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [February 18, 2019, 1:57pm UTC](https://forum.katalon.com/t/cannot-spy-record-application/19565 "2019-02-18T13:57:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cristian.muraru](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@cristian.muraru](https://forum.katalon.com/u/cristian.muraru)\
**Post date:** [February 18, 2019, 1:57pm UTC](https://forum.katalon.com/t/cannot-spy-record-application/19565/1 "2019-02-18T13:57:27Z")

</div>

Hello,

I’m on Windows 10 with Katalon 5.10.1 appium 1.11 and I cannot spy application on my Android device:  
" Unable to start app at: ‘C:\Users\xxx.xxx\Katalon Studio\MobileTestProject\androidapp\APIDemos.apk’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.e[0;39m  
e[31mBuild info: version: ‘3.7.1’, revision: ‘8a0099a’, time: '2017-11-06T21:07:36.161Z’e[0;39m  
e[31mSystem info: host: ‘BCR-HQB-L3653’, ip: ‘xxx.254.249.1’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: '1.8.0\_181’e[0;39m  
e[31mDriver info: driver.version: SwipeableAndroidDrivere[0;39m  
e[31mremote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.e[0;39m  
e[31m at getResponseForW3CError (C:\Users\cristian.muraru\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\errors.js:826:9)e[0;39m  
e[31m at asyncHandler (C:\Users\cristian.muraru\AppData\Roaming\npm\node\_modules\appium\node\_modules\appium-base-driver\lib\protocol\protocol.js:447:37))"

Any thoguht?

---

<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 18, 2019, 4:11pm UTC](https://forum.katalon.com/t/cannot-spy-record-application/19565/2 "2019-02-18T16:11:16Z")

</div>

Hi @cristian.muraru,

Katalon Studio 5.10.1 only supports Appium 1.8.1 and 1.8.2-beta (you only need to use the beta for iOS 12 testing). Can you try downgrading with `npm install -g appium@1.8.1` and see if that helps?

– Chris

---

<div class="post-metadata">

**Author:** ![nblitte](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@nblitte](https://forum.katalon.com/u/nblitte)\
**Post date:** [February 20, 2019, 12:03am UTC](https://forum.katalon.com/t/cannot-spy-record-application/19565/3 "2019-02-20T00:03:30Z")

</div>

Hi @Chris_Trevarthen,  
It’s OK with your proposition. Thanks a lot.

---

<div class="post-metadata">

**Author:** ![cristian.muraru](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@cristian.muraru](https://forum.katalon.com/u/cristian.muraru)\
**Post date:** [February 20, 2019, 7:22am UTC](https://forum.katalon.com/t/cannot-spy-record-application/19565/4 "2019-02-20T07:22:58Z")

</div>

Now, when trying to install appium, 1.8.1, I’m stuck with:  
" Downloading [http://chromedriver.storage.googleapis.com/2.38/chromedriver\_win32.zip](http://chromedriver.storage.googleapis.com/2.38/chromedriver_win32.zip)…  
RequestError: Error: getaddrinfo ENOTFOUND [chromedriver.storage.googleapis.com](http://chromedriver.storage.googleapis.com) [chromedriver.storage.googleapis.com](http://chromedriver.storage.googleapis.com)"

Yes, I’m behind a proxy, but appium1.11 got installed without problems.

Any tips on how to install chromium in this situation?  
Thank you in advance!

---

<div class="post-metadata">

**Author:** ![cristian.muraru](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@cristian.muraru](https://forum.katalon.com/u/cristian.muraru)\
**Post date:** [February 20, 2019, 1:17pm UTC](https://forum.katalon.com/t/cannot-spy-record-application/19565/5 "2019-02-20T13:17:54Z")

</div>

Thank you, @Chris_Trevarthen!  
I can confirm it: Katalon Studio 5.10.1 is working with appium 1.8.1

---

<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 20, 2019, 2:36pm UTC](https://forum.katalon.com/t/cannot-spy-record-application/19565/6 "2019-02-20T14:36:04Z")

</div>

@cristian.muraru,

Glad to hear it’s working! Out of curiosity, how did you get around the chromedriver issue?

– Chris

---

<div class="post-metadata">

**Author:** ![cristian.muraru](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@cristian.muraru](https://forum.katalon.com/u/cristian.muraru)\
**Post date:** [February 25, 2019, 9:26am UTC](https://forum.katalon.com/t/cannot-spy-record-application/19565/7 "2019-02-25T09:26:52Z")

</div>

The only way to make it work was to switch off to an unrestricted wi-fi network 🙂

---

<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 25, 2019, 3:32pm UTC](https://forum.katalon.com/t/cannot-spy-record-application/19565/8 "2019-02-25T15:32:42Z")

</div>

Thanks for the follow up, and I’m glad you got it working.

In case others have issues installing Appium from the command line, you can download an installer for Appium Desktop 1.6.3, which bundles with it Appium server 1.8.1 (the version numbers are out of sync, which makes it a bit confusing).

> **[Release 1.6.3 · appium/appium-desktop](https://github.com/appium/appium-desktop/releases/tag/v1.6.3)**
>
> Feature: Make ANDROID\_HOME and JAVA\_HOME settable from the UI
> Feature: Add icon that copies source XML to clipboard
> Fix: Close session window when main window is closed

– Chris
