When trying to run Android Studio sh file, chmod +x and checkbox just instantly fails (as root too)

I want to run the new Android Studio IDE just released at Google I/O 2013, and when I try to execute studio.sh, it opens it in a text editor. If I enable running as application in properties, it instantly unchecks the checkbox. When I chmod +x it and then run it, it says permissions denied. I do the same thing as root (sudo su), and it says command not found. I use vanilla sudo for both of them. Command not found. How do I execute the file?

1

5 Answers

Open the terminal and run:

cd android-studio/bin
./studio.sh
2

Fixed. Apparently Android Studio doesn't like being run off USB...

1

JVM must have special locate read message #7 in

1

This is basically because you lack JDK.

This can be found by running the following command in the terminal:

cd /android-studio/bin
./studio.sh

So after you configured Java you'll be able to run it.

with terminal, move to your android bin directory.

ie:

cd /usr/local/bin/android-studio/bin/

then use

sh studio.sh

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like