Ubuntu18.04安装Android Studio
一.安装JDK
JDK下载地址:https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html
下载 jdk-11.0.1_linux-x64_bin.tar.gz
下载完后,在下载目录打开终端,键入以下命令,将其放到 /usr/local 目录下
sudo tar -zxvf jdk-11.0.1_linux-x64_bin.tar.gz //解压
sudo mv jdk-11.0.1 /usr/local/ //移动到对应目录下
配置环境变量:
sudo vim ~/.bashrc
按