appium-desktop
appium-desktop copied to clipboard
Server side error. The application is not writeable
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
-
I am running Appium Desktop version 1.13.0, same issue with 1.12.1.
-
I am on (pick one):
- [x] Linux
A lot of Linux users reported this same issue but no one seems to find a solution
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
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.
try this capabilities.setCapability("automationName", "UiAutomator1");