Hi Guys,
Im facing error while trying to spy/record my mobile in katalon.
In .appium log I found this,
[UiAutomator2] Unable to remove port forward ‘Error executing adbExec. Original error: ‘Command ‘/Users/surendra/.katalon/tools/android_sdk/platform-tools/adb -P 5037 -s 9b87a844 forward --remove tcp\:8200’ exited with code 1’; Stderr: ‘error: listener ‘tcp:8200’ not found’; Code: ‘1’’
Anyone help on this pls
I have the same problem
The Spy with mobile doesn’t work !! but the record work fine
I encounter the same problem. See attached
imgage
KatalonSpyMobile error simulation.PNG
\These errors likely because there are missing files in your Appium installed directory. There are many reasons behind it such as your current proxy/ firewall prevents you to download these files
C:\Users\{your login account}\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\uiautomator2
Please check that folder to see if there are any .apk files there? If there are no available .apk files there, then please download attached .apk files and copy them to that location:
https://github.com/appium/appium-uiautomator2-server/releases/download/v0.4.1/appium-uiautomator2-server-debug-androidTest.apk
https://github.com/appium/appium-uiautomator2-server/releases/download/v0.4.1/appium-uiautomator2-server-v0.4.1.apk
Vinh Nguyen said:
\These errors likely because there are missing files in your Appium installed directory. There are many reasons behind it such as your current proxy/ firewall prevents you to download these files
C:\Users\{your login account}\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver\uiautomator2
Please check that folder to see if there are any .apk files there? If there are no available .apk files there, then please download attached .apk files and copy them to that location:
https://github.com/appium/appium-uiautomator2-server/releases/download/v0.4.1/appium-uiautomator2-server-debug-androidTest.apk
https://github.com/appium/appium-uiautomator2-server/releases/download/v0.4.1/appium-uiautomator2-server-v0.4.1.apk
Do it according to the steps or not work.
e[35m[UiAutomator2]e[39m Unable to remove port forward ‘Error executing adbExec. Original error: ‘Command ‘C\:\\Users\\DELL\.katalon\\tools\\android_sdk\\platform-tools\\adb.exe -P 5037 -s NXTDU16B05004439 forward --remove tcp\:8200’ exited with code 1’; Stderr: ‘error: listener ‘tcp:8200’ not found’; Code: ‘1’’