Android Studio Error After ./Studio.Sh

android-studio : Error while executing studio.sh

Just use the previous studio.sh file and it works like a charm!

Android Studio error after ./studio.sh

I solved the problem combining Jerome's and Jarod's answer:

  1. Install JDK -- sudo apt-get install openjdk-7-jdk
  2. Environment Variable -- sudo nano /etc/environment
    adding the following line:
  3. JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386
  4. Reboot, and Android Studio starts up. (I had added also a link to studio.sh to the main menu).

Also I just found https://stackoverflow.com/a/17827697/2533809 which seems to have a nice write-up, pretty much the same answer.

(I'm using Debian 7 Wheezy)

studio.sh command not found - Ubuntu

Following step worked for me

  1. cd to YOUR_DIR_WHERE_ANDROID_STUDIO_TILL_BIN_FOLDER
  2. then type command sh studio.sh or ./studio.sh

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

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.

Android Studio failed execution

Unfortunately, executing Android Studio as administrator on Linux, you won't update the IDE.

In this case, I used the chmod +777 command, to resolve this problem, but the big problem will be the computer vulnerability.

The command is sudo chmod +777 -R /home/your_user/Android/ or the path where is located the program.



Related Topics



Leave a reply



Submit