In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
According to past experience, it is a good habit to complete a task and take good notes. 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 dk-13.0.1_linux-x64_bin.tar.gz. X64 means that the computer is a 64-bit system. Tar.ge is a file type that lilnux can extract directly.
The second step is to extract the downloaded file directly to the downloaded directory.
Right mouse button click to extract directly to the current location
Step 3 install java and android
Use the cp-r instruction to directly copy the downloaded file 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 unzipped files directly and move the extracted files to the opt software directory.
Step 4 install java files similar to environment variables
Open and terminal, enter the following instructions to open the profile file
Cd / etc/sudo vim profile
See the following interface:
Add the following at the bottom
# java installation environment export JAVA_HOME=/opt/jdk-13.0.1export JRE_HOME=$ {JAVA_HOME} / jreexport CLASSPATH=.:$ {JAVA_HOME} / lib:$ {JRE_HOME} / libexport PATH=$ {JAVA_HOME} / bin:$PATH
Save exit.
After the modification is completed, execute
Source / etc/profile
Here is the profile file that has been written
At this time, type java-version at the command line to get the version information of jdk. If it does not represent installation failure!
Reinstall, check to see if the installation path is correct, or check the jdk of the ubuntu configuration installation java written by someone else on the web.
The last step is to open android studio to download sdk
Cd / opt/android/android-studio-ide-191.5900203-linux/android-studio/bin./studio.sh
This is the end of this tutorial, because before reading other people's posts, you have to install sdk first, but I tried many times without success, and finally almost gave up when I installed it directly under android studiod. I am very happy, the harder I work, the luckier I am!
Summary
The above is the ubuntu19 system introduced by the editor and the following version of the installation of android studio tutorials, I hope to help you, if you have any questions, please leave me a message, the editor will reply you in time. Thank you very much for your support to the website!
If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 261
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.