studio.sh open permission denied for android studio in ubuntu

android-studio, bash, java, unix

Solution

Got the same problem. But solved it by following steps:-

- Right click on studio.sh and select Properties.

- There go to Permissions.

- Check "Allow Executing file as program"

And you are done.

Problem

I downloaded an Android Studio for linux and then tried to run the studio.sh file inside the 'bin' directory as per the instruction said. The terminal showed an error saying something like this: ``` bash: ./studio.sh: permission denied ``` The whole Studio bundle was in .tdz format and I extracted the files before accessing via the terminal. What is the main cause for such error? Thank you so much!

Original source