Reputation: 491
I am trying to get Android Studio running. I have installed jdk and jre
sudo apt-get install default-jre
sudo apt-get install default-jdk
I have set up my .bashrc and /etc/environment
file to
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH
but still nothing.
$JAVA_HOME
returns correct value and so do java -version
and whereis javac
What am I missing?
Upvotes: 13
Views: 33372
Reputation: 852
Typing command sh studio.sh
in the directory android-studio/bin
, I solved this issue, so you ought to try this one instead as well.
Upvotes: 4
Reputation: 111
if you have installed android studio using jetbrains Toolbox then there is the path location
/home/username/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7678000/bin/
Upvotes: 0
Reputation: 825
It worked for me -> Go to directory that has android studio bin.
-> Instead of using studio.sh use the command sh studio.sh
Upvotes: 0
Reputation: 27545
Following step worked for me
Upvotes: 66