请问怎么安装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