Cannot Swipe on device Android

I am no longer able to use the swipe on android devices I have been using it for a while on android and iOS and all of a sudden it stopped working. My versions did not change. I know there have been ongoing swipe issues for real devices so I have been intentionally not upgrading my appium version, xcuitest driver version or uiautomator2 version.

While trying to debug I looked through KS release notes and saw a fix for a scrollToText function in KS version 9.7.1 so I thought I would download and install the latest version. Only version 9.6.0 is available to me on the download page so that is what I installed.

Has anyone else experienced the swipe issue on android devices even while following the workaround steps linked below? All the other forums about this list these workaround steps which are no longer working on my android devices:
https://katalon-inc.my.site.com/katalonhelpcenter/s/article/Can-not-swipe-when-upgrading-to-Appium-2

Versions:

  • Appium: 2.5.1 (also tried with 2.2.3 which was my previous verison)
  • uiautomator2 driver: 2.45.1
  • Katalon Studio: 9.6.0
  • Android OS: 10 and 13 (two different devices)
1 Like

Hi there, :wave:

Thank you very much for your topic! It may take a little while before Katalon team member or others forum members respond to you.

In the meantime, you can double-check your post to see if you can add any extra information i.e. error logs, HTML codes, screenshots, etc. Check out this posting guide to help us help you better!

Thanks! :sunglasses:
Katalon Community team

Hi @kreno,

Thank you for sharing your issue. Can you please help try this solution: Mobile.swipe function bug - #17 by Elly_Tran and let me know if it worrks for you? Thnk you

Thanks for your response. I had already tried to convert all the Mobile.swipe() functions with TouchActions and was still running into issues. The only thing that worked was downgrading the uiautomator2 driver back even further to 2.10.0.

Now both Mobile.swipe and TouchActions work normally.

When I try with version 2.10.0, I got error Unsafe app blocked
Do you have any plans for a swipe fix?
My version
Katalon Studio Free 9.7.2
Appium 2.11.5
uiautomator2@2.10.0
Devides: Samsung A33 - android 14

Hi @anhld2,

Sorry for my late response. Have you tried this solution: Cannot Swipe on device Android - #3 by Elly_Tran? We have planned to fix it in v10.0.0.

Hi there, and thanks for posting in the Katalon community! :hugs:

To help you faster, please review our guide on Swipe here:

Double-checking the steps and configurations might resolve the issue.

If the doc doesn’t help, feel free to provide more details, and a community member will assist you soon. Thanks for being a part of our community!

Best,
Albert Le

Hi @Elly_Tran
I try but it not work for me
Currently I am using swipeGesture and scrollGesture instead.

Try with Katalon Studio 10.0.0 that was just released. It should solve the swipe issue.

Hi, which version of XCUItest and UIAutomator2 does KS10 support?

You can find that here:

Appium
UiAutomator2 Driver for Android v3.7.0+|
Appium XCUITest Driver for iOS v7.21.1+|