Based on past experience, taking notes after completing a task is a good habit! The installation environment is Ubuntu First download: 1. Android Studio Download link: Here is the official website 2. Java JDK Download link: java official website What you need to download here is The second step is to unzip the downloaded file directly to the downloaded directory Right click to extract to the current location Step 3 Install Java and Android Use the cp -r command to copy the downloaded file directly to the /opt/file directory cp -r android-studio-ide-191.5900203-linux.tar.gz /opt/ cp -r jdk-13.0.1 /opt/ Here I use the decompressed file directly and move the decompressed file to the opt software directory. The fourth step is to install a file similar to the Java environment variable Open the terminal and enter the following command to open the profile file cd /etc/ sudo vim profile You will see the following interface: Add the following at the bottom #java installation environment export JAVA_HOME=/opt/jdk-13.0.1 export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH Save and exit. After the modification is completed, execute The following is the profile file that has been written At this time, enter Reinstall and check whether the installation path is correct, or check other people's articles on Ubuntu configuration and installation of Java JDK. The last step is to open Android Studio and download the SDK cd /opt/android/android-studio-ide-191.5900203-linux/android-studio/bin ./studio.sh This tutorial ends here. I saw other people’s posts before, and they all said that they had to install the SDK first. However, I tried many times without success. Finally, when I almost gave up, I installed it directly under Android Studio. Very happy, the harder you work, the luckier you are! Summarize The above is the tutorial for installing Android Studio on Ubuntu 19 and below. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: A magical MySQL deadlock troubleshooting record
>>: How to prevent hyperlink redirection using JavaScript (multiple ways of writing)
I reinstalled the computer and installed the late...
Index definition: It is a separate database struc...
(?i) means do not match case. Replace all uppercas...
Let’s take a look at what kind of charging animat...
MySQL v5.7.19 official version (32/64 bit install...
1. The window size opened by the HTML hyperlink C...
Table of contents 1 Install Docker in Baota Softw...
Table of contents 1. Installation: 2. Use: 3. Bui...
Prerequisite: You need to compile the ngx_http_he...
The reason is that it was not uninstalled cleanly...
Table of contents index - General index - Unique ...
Sometimes the page is very long and needs an arro...
When loading network data, in order to improve th...
Introduction I will write about the problem I saw...
Preface Backup is the basis of disaster recovery....