Android Studio error 13=permission denied in linux

This problem is about insufficient authority. If you change your user as 'root' and you open android studio, this problem will be resolved. For ex;

Open Terminal

$ sudo -i

[enter your password] : ********

root@pc-name:~$ cd /home/username/.../android-studio/bin

root@pc-name:~$ ./studio.sh


I'm running android studio 1.0.2 on ubuntu 14.04 (LTS) 32 bit and i had the same problem. just go to "/home/suUs12/Android/Sdk/build-tools/21.1.2/" and then right click on 'aapt' file , properties -> permissions and check 'Allow executing file as program'. then close the window.

In my case,after giving permission for 'aapt' file, I had to give the same permission for 'dx' and 'zipalign' files in the same directory (/home/suUs12/Android/Sdk/build-tools/21.1.2/) and I was able to run my first app using android studio.


Give Root permission to your android studio by using

chmod -777 YourAndroidStudioFolder