Failed to start an Appium session, err was: Error: EACCES, rename

I get the below error when i run tests on Android

error: Failed to start an Appium session, err was: Error: EACCES, rename.

But not getting any issues with iOS.

using Appium 1.4.13

The issue is noticed only when i try running tests by Jenkins other wise works fine.

seems jenkins user don’t have permission to the folder where appium.tmp is created. Any Suggestion any one faced this issue??

Can you uninstall jenkins and install it again by using homebrew?
I remember I had issue with jenkins permission before and after I install it with homebrew, everything is working fine

1 Like