[Related information]
Os:kali
If you already have the JDK installed
Steps
1. Download the official installation package, here I share, go Baidu disk faster.
- Links: Http://pan.baidu.com/s/1o6JoyJC
- Password: UVL4
2. Unzip
tar zxvf android-studio-bundle-135.1339820-linux.tgz
3. Move to/opt
sudo MV android-studio/opt/
4. Configure the startup icon
All the boot icons are in the /usr/share/applications directory
$ cd/usr/share/applications/sudo
After opening, write the following in the file and save
[Desktop entry]encoding=utf-8Name=android-studiocomment=Android ideexec =sh /opt/android-studio/bin/studio. SH Icon=/opt/android-studio/bin/idea.pngterminal=falseType= Applicationcategories=GNOME; Application;development; Startupnotify=true
So far, Android-studio has finished setting the icons.
Applications---programming found the startup icon has been generated Android-studio
5. Configuring the JDK
You need to specify the JDK path for the first time you open
Here we enter the/usr/local/java/inside
Select "Jdk1.8.0_20" in the pop-up content
OK then.
{New HelloWorld}
Step by step new HelloWorld project, found to = long ...
Linux installation anroid Studio 0.8