appium-desktop icon indicating copy to clipboard operation
appium-desktop copied to clipboard

Server side error. The application is not writeable

Open EzCrash opened this issue 5 years ago • 4 comments

Appium Desktop

You are reporting an issue at the Appium Desktop repository. Appium Desktop is a wrapper around Appium. If you are having trouble running tests, it is much more likely that the problem you are encountering is not a problem with Appium Desktop but with Appium. For that reason we require you to have tried your testcase with Appium CLI before reporting issues. Check the checkbox below to confirm that you have proven your issue does not reproduce on Appium itself:

  • [x] I have verified that my issue does not occur with Appium and should be investigated as an Appium Desktop issue

Open Appium Desktop. OK Start server. OK Start session. OK. But if I add automationName: UiAutomator2 I get the following error:

Error An unknown server-side error occurred while processing the command. Original error: The application at '/tmp/.mount_app.Ap8xEj5P/resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is not writeable. Please grant write permissions to this file or to its parent folder '/tmp/.mount_app.Ap8xEj5P/resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks' for the Appium process, so it could sign the application

I changed ownership of /tmp from root to current user and granted write permissions, with no success. uiAutomator, I mean the uiAutomator"1" works fine with AppiumDesk 1.10.0 Screenshot from 2019-05-05 01-26-58

  • I am running Appium Desktop version 1.13.0, same issue with 1.12.1.

  • I am on (pick one):

    • [x] Linux

EzCrash avatar May 05 '19 05:05 EzCrash

A lot of Linux users reported this same issue but no one seems to find a solution

EzCrash avatar May 06 '19 22:05 EzCrash

The workaround from another thread is to run Appium from the command line. It's a permission issue with the AppImage

https://github.com/appium/appium-desktop/issues/931

Couragyn avatar May 17 '19 03:05 Couragyn

I faced the same issue when using the v1.14 beta version. But using the v1.13 fixed it. The other workaround that i found is:

  • run appium from command line [sudo apt install appium] in port 4723
  • run appium-desktop server v1.14 in different port.
  • connect appium-desktop to the appium server on port 4723 And voila, issue fixed.

parisana avatar Aug 03 '19 16:08 parisana

try this capabilities.setCapability("automationName", "UiAutomator1");

deepika8920 avatar Aug 23 '19 13:08 deepika8920