Running Android Studio in Ubuntu

10,467

This is because this time you are not running it as root. Once you run the installation process, now start with root permissions: Try first

su root

then

./bin/studio.sh

or use

sudo ./bin/studio.sh

This time Android Studio will start.

Share:
10,467
ScubaDiving
Author by

ScubaDiving

Hi.

Updated on September 09, 2022

Comments

  • ScubaDiving
    ScubaDiving over 1 year

    Recently I've installed Android Studio on my Ubuntu 14.04 laptop, and it installed and runs - but I can't figure out how to run it once I closed it. When I try to run the studio.sh file, it shows me the installation process again - and messes up the files I already created. How can I just start the program without having to "install" it every time? Thanks a lot in advance.

  • Varun
    Varun over 9 years
    OP is using Android Studio and not Eclipse.!
  • hardPass
    hardPass over 8 years
    Android studio is not very kind to ubuntu. So much pain!
  • Tushar Thakur
    Tushar Thakur over 8 years
    In my case after running above mentioned command I get following line and then execution does not move forward, " Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0"
  • Jonathan
    Jonathan about 4 years
    I had to use sudo or I would get the error: Error: Could not find or load main class com.intellij.idea.Main using Ubuntu 19.10