Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

bash: ./studio.sh: Permission denied (error installing Android-Studio)

While I was trying to Install Android-Studio and execute the command

@abhinay-Pc:/android-studio/bin$`./studio.sh

It is showing the error:

bash: ./studio.sh: Permission denied

I have already exported Java directory to /android-studio/bin folder`

(Java_Home = /usr/lib/jvm/java-7-oracle)

I have the java-7 installed on my system.

like image 519
Abhinay Avatar asked Jan 14 '14 16:01

Abhinay


1 Answers

You might not have chmod +x studio.sh try sh ./studio.sh

If this was not it, try again like this: sh -x ./studio.sh. This will show you every line that is run and will help you debug it.

Good luck.

like image 127
Sean Perry Avatar answered Sep 21 '22 02:09

Sean Perry