I have successfully installed Android studio on my Ubuntu 14.04 LTS running as a guest in VMWare 10 on my windows 10. But when I check for updates it shows me some updates available and a message below which says :

Studio does not have write access to /home/aman/Downloads/android-studio. Please run it by a privileged user to update.

I am newbie in Linux environment, I know I have to give some read/write permission to studio but I don't know how.

P.S. I tried running it with the following command:

sudo ./studio.sh

it gives me an error saying :

tools.jar seems to be not in studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE
  • sudo sh /path.../studio.sh – Aadhil RF Jan 9 '16 at 10:33
  • @Mohammedaadhil No! Not with sudo not with gksu or something else. – A.B. Jan 9 '16 at 11:30

You have Android Studio installed in your Download folder? Interesting... o_O

For your learning curve, correct the permissions:

sudo chown -R "$USER":"$USER" ~/Downloads
sudo chmod -R u+w ~/Downloads

After that, delete your installation :P and use this answer to install again.

| improve this answer | |
  • I was just playing around with linux commands , so I accidently copied the studio folder in Downloads. – Aman Grover Jan 9 '16 at 11:25
sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java8-installer

sudo apt-get install oracle-java8-set-default
| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.