Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

On Android Studio 2.2.3 Gradle sync failed: Cause: error=13, Permission denied on Linux Mint 18

On Android Studio 2.2.3 when I am creating a new project or opening previous projects then the following pop ups:

Gradle sync started 7:55:26 AM Gradle sync failed: Cause: error=13, Permission denied Consult IDE log for more details (Help | Show Log)

what should I do? Please help. This is important.

like image 258
mr.basu Avatar asked Jan 30 '17 02:01

mr.basu


2 Answers

On Android Studio folder, do

chmod 777 * -R

I think this not the best answer but it worked for me.

like image 165
Alesis Joan Avatar answered Sep 23 '22 06:09

Alesis Joan


I solved this by going to the directory that contained the android-studio folder, which in my case was /usr/local i.e cd /usr/local then I ran:

sudo chmod 755 -R android-studio

It even fixed my font not displaying properly.

I'm using ubuntu 18.04

like image 21
Tobecci Avatar answered Sep 26 '22 06:09

Tobecci