3

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
  • Note that I am not running pure Ubuntu unity, I installed GNOME 3.8 and ubuntu-gnome-desktop on top of it, but it is 13.04, so I think it's fine.
    – George
    May 16, 2013 at 13:46

5 Answers 5

7

Open the terminal and run:

cd android-studio/bin

./studio.sh
1
  • 3
    Please do not write such simplistic answers.
    – RolandiXor
    May 16, 2013 at 16:29
1

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

1
  • 1
    Your USB probably mounted as noexec and nosuid May 16, 2013 at 18:11
1

JVM must have special locate read message #7 in https://code.google.com/p/android/issues/detail?id=55359

1
  • Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – Seth
    May 17, 2013 at 16:51
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.

1

with terminal, move to your android bin directory.

ie:

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

then use

sh studio.sh

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .