# Problem with Swipe in Android App (real device) after Tosca Upgrade

**URL:** <https://discuss.appium.io/t/problem-with-swipe-in-android-app-real-device-after-tosca-upgrade/42756>\
**Category:** Support\
**Created:** [June 7, 2024, 9:43am UTC](https://discuss.appium.io/t/problem-with-swipe-in-android-app-real-device-after-tosca-upgrade/42756 "2024-06-07T09:43:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radna](https://discuss.appium.io/user_avatar/discuss.appium.io/radna/32/13177_2.png) [@Radna](https://discuss.appium.io/u/Radna)\
**Post date:** [June 7, 2024, 9:43am UTC](https://discuss.appium.io/t/problem-with-swipe-in-android-app-real-device-after-tosca-upgrade/42756/1 "2024-06-07T09:43:52Z")

</div>

Hello, I am new here and I am a begineer in the Appium Themes. After Tosca Upgrade from 14.2 on 2023.1 Swipe in Android works not.  
appium Version: 2.5.4  
appium-uiautomator2-driver version: 3.5.2  
App starts normally, but when comes to Swipe comes Error. I need a quick solution, because it stoppt me almost total by work.  
Error:  
Tricentis.Automation.Engines.Technicals.SutException: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource

RemoteStackTrace:

bei OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)  
bei OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters) bei OpenQA.Selenium.Appium.AppiumDriver`1.Execute(String driverCommandToExecute, Dictionary`2 parameters) bei OpenQA.Selenium.Appium.AppiumDriver`1.PerformTouchAction(ITouchAction touchAction)  
bei OpenQA.Selenium.Appium.MultiTouch.TouchAction.Perform()  
bei Tricentis.Automation.Remoting.Mobile30.PerformsTouchActionsExtensions.Swipe(IPerformsTouchActions driver, Int32 startx, Int32 starty, Int32 endx, Int32 endy, Int32 duration)  
bei Tricentis.Common.Helpers.Aspects.TargetInvocationHandlingAspectAttribute.OnException(MethodExecutionArgs args)  
bei Tricentis.Common.Helpers.ReflectionExtension.InvokeInternal[T](Object target, String methodName, T& returnValue, Object parameters)  
bei Tricentis.Common.Helpers.ReflectionExtension.Invoke[T](Object target, String methodName, Object parameters)  
bei Tricentis.Automation.Remoting.ReflectingServer.HandleTransactionTask(InvokeVoidMethodTransactionTask transactionTask, Object target)  
at Tricentis.Automation.Engines.Technicals.RemoteObjectManager`1.ExecuteTask(String taskUid, TransactionPart part) at Tricentis.Automation.Engines.Technicals.RemoteObjectManager`1.InvokeVoidMethodWithoutRefresh(ITechnical onObject, String name, Object parameters)  
at Tricentis.Automation.Engines.Technicals.RemoteObjectManager`1.InvokeVoidMethod(ITechnical onObject, String name, Object parameters)  
at Tricentis.Automation.Engines.SpecialExecutionTasks.SwipeOnScreen.Swipe(IMobileDeviceTechnical device)  
at Tricentis.Automation.Engines.SpecialExecutionTasks.SwipeOnScreen.Execute(ISpecialExecutionTaskTestAcmethod that is not supported by the mapped resource

Unfortunately, I don’t know what is ‘mapped resource’. I am thankfull for any kind of help.

---

<div class="post-metadata">

**Author:** ![mykola-mokhnach](https://discuss.appium.io/user_avatar/discuss.appium.io/mykola-mokhnach/32/4578_2.png) [@mykola-mokhnach](https://discuss.appium.io/u/mykola-mokhnach)\
**Post date:** [June 7, 2024, 11:47am UTC](https://discuss.appium.io/t/problem-with-swipe-in-android-app-real-device-after-tosca-upgrade/42756/2 "2024-06-07T11:47:03Z")

</div>

This might be a duplicate of [Unhandled endpoint: /session/A1804522-69EA-4741-A1F2-D73744F02462/touch/perform · Issue #19791 · appium/appium · GitHub](https://github.com/appium/appium/issues/19791)  
Since [v3](https://github.com/appium/appium-uiautomator2-driver/releases/tag/v3.0.0) of uia2 and v7 of xcutest drivers touch actions were removed as obsolete. Only W3C actions or gesture shortcuts are supported.

You have two options there: either wait until Tosca is updated to support W3C actions or temporarily downgrade uia2 driver to v2.

---

<div class="post-metadata">

**Author:** ![Radna](https://discuss.appium.io/user_avatar/discuss.appium.io/radna/32/13177_2.png) [@Radna](https://discuss.appium.io/u/Radna)\
**Post date:** [June 12, 2024, 12:28pm UTC](https://discuss.appium.io/t/problem-with-swipe-in-android-app-real-device-after-tosca-upgrade/42756/3 "2024-06-12T12:28:31Z")

</div>

Hello Mykola, thank you very much for your answer. I will with downgrade try and let you know, if it works. Sorry for late answer. I was out of job for a few days. Thank you again.  
Best regards

---

<div class="post-metadata">

**Author:** ![Radna](https://discuss.appium.io/user_avatar/discuss.appium.io/radna/32/13177_2.png) [@Radna](https://discuss.appium.io/u/Radna)\
**Post date:** [June 12, 2024, 1:13pm UTC](https://discuss.appium.io/t/problem-with-swipe-in-android-app-real-device-after-tosca-upgrade/42756/4 "2024-06-12T13:13:11Z")

</div>

Hello again,  
I have one more question. My automation server is on MAC. Universal ADB Driver 2.0 is for Windows or?

---

<div class="post-metadata">

**Author:** ![Radna](https://discuss.appium.io/user_avatar/discuss.appium.io/radna/32/13177_2.png) [@Radna](https://discuss.appium.io/u/Radna)\
**Post date:** [June 14, 2024, 9:37am UTC](https://discuss.appium.io/t/problem-with-swipe-in-android-app-real-device-after-tosca-upgrade/42756/5 "2024-06-14T09:37:08Z")

</div>

A problem is solved. Downgrade on uiautomator2@2.0.5 helped. Notice: Driver “uiautomator2” (package ‘appium-uiautomator2-driver’) may be incompatible with the current version of Appium (v2.5.4) due to an invalid or missing peer dependancy on Appium. Please ask the developer of ‘appium-uiautomator2-driver’ to add a peer dependency on ‘^appium@2.5.4’.
