請問怎麼安裝Android Studio?
我安裝方式
sudo apt-add-repository ppa:maarten-fonville/android-studio
sudo apt-get update
sudo apt-get install android-studio
但android-studio打開一直寫
'tools.jar' seems to be not in Studio classpath.
Please ensure JAVA_HOME points to JDK rather than JRE.
但我有在~/.bashrc中寫入
export JAVA_HOME=/home/user/software/jdk1.8.0_73
export SDK_HOME=/home/user/software/Android_SDK
且~/.profile中改寫PATH="$HOME/bin:$PATH:$JAVA_HOME:$SDK_HOME"
而我JAVA_HOME除了用過
/home/user/software/jdk1.8.0_73
還試過
/home/user/software/jdk1.8.0_73/lib
/home/user/software/jdk1.8.0_73/bin
/usr/lib/jvm/java-7-openjdk-amd64
/usr/lib/jvm/java-7-openjdk-amd64/bin
都無效(P.S.我每改一次就重開機一次-.-")
系統Linux Mint 17.3