Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install android studio on ubuntu19 system and below

2025-03-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the "ubuntu19 system and the following version of how to install android studio" related knowledge, editor through the actual case to show you the operation process, the method of operation is simple and fast, practical, I hope that this "ubuntu19 system and the following version of how to install android studio" article can help you solve the problem.

First download:

1 、 android studio

2 、 java jdk

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

This is the end of cd / opt/android/android-studio-ide-191.5900203-linux/android-studio/bin./studio.sh 's introduction to "how to install android studio on ubuntu19 and below". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

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: 0

*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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report