androidtool-mac icon indicating copy to clipboard operation
androidtool-mac copied to clipboard

Permission problem

Open andhie opened this issue 10 years ago • 0 comments

Installed AndroidTool via brew cask. but when tried to take screenshot or record video. it has permission failure when creating desktop folder and getting screenshot.

i tried using the screenshot feature in Android Studio. it works.

Running on OS X 10.11.2 El Capitan and Android 6.0 Marshmallow

/opt/homebrew-cask/Caskroom/androidtool/1.51/AndroidTool.app/Contents/Resources/takeScreenshotOfDeviceWithSerial.sh
###### ~/Desktop/AndroidTool
mkdir: ~/Desktop/AndroidTool: Permission denied
/opt/homebrew-cask/Caskroom/androidtool/1.51/AndroidTool.app/Contents/Resources/takeScreenshotOfDeviceWithSerial.sh: line 41: cd: ~/Desktop/AndroidTool: No such file or directory
Taking screenshot of LGD8552318009f
cannot create './activities-ActivityLogin-01092016144740.png': Permission denied
The file /activities-ActivityLogin-01092016144740.png does not exist.

doing a ls -al seems to have correct permission

andhie$ ls -al /opt/homebrew-cask/Caskroom/androidtool/1.51
drwxr-xr-x  4 andhie  staff   136 Jan  9 14:35 .
drwxr-xr-x  5 andhie  staff   170 Jan  9 14:35 ..
-rw-r--r--@ 1 andhie  staff  6148 Jan  9 14:48 .DS_Store
drwxr-xr-x  3 andhie  staff   102 Dec  6 05:43 AndroidTool.app

andhie avatar Jan 09 '16 06:01 andhie