Android development on Linux IDE Android Studio is a complete integrated development environment or interface to create and prog...
Android development on Linux
IDE Android Studio is a complete integrated development environment or interface to create and programming Android Apps for programmers on android platforms. IDE Android Studio is a free software owned by Google under the Apache License 2.0. Android Studio is designed specifically for Android development.
In this article we will explain how to install the Android Studio IDE in the new and the most recent distribution of Fedora 22 with boring details. Moreover at the end of this article I will cite you the most important links to download and install the most appropriate packages for other operating systems like Windows, Mac OS X and all Linux distributions generally.
1. Install some libraries and important Dependencies for Android Studio on Fedora 22
To install them we must applicate the following Linux command.
As we can see, in the 22th version of Fedora the
yum
software manager was changed by dnf
. So for older versions of Fedora we can just change dnf
by yum
.2. Download the package of Android Studio For Linux
From the official Android Studio website we can download the Android Studio package for Linux. Or from the direct link android-studio-ide-141.1980579-linux.zip
3. Install JAVA jdk-devel on Linux
Almost all android applications are designed with Java programming language and it is the programming language adopted on the IDE Android Studio. To get JAVA for Android Studio we must install
java-1.8.0-openjdk-devel
package:$ sudo dnf install java-1.8.0-openjdk-devel
4. Preparing to install Android Studio
Unzipping the package to /tmp path with the command:
$ sudo unzip android-studio-ide-141.1903250-linux.zip -d /tmp/
Transfer files to /opt path like superuser or root:
$ sudo su
$ chown -R root:root /tmp/android-studio && mv /tmp/android-studio /opt
Create an alias to execute the shell script to launch Android Studio with
asb
command:$ ln -s /opt/android-studio/bin/studio.sh /usr/local/bin/asb
$ exit
Create a shortcut in the list of Programs (or launcher). We can use the gedit editor or another text editor instead of vi editor:
$ sudo vi /usr/share/applications/asb.desktop
Then we must past the following script:
[Desktop Entry]
Encoding=UTF-8
Name=Android Studio
Comment=Android Studio 1-0
Exec=asb
Icon=/opt/android-studio/bin/idea.png
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
After this steps we can launch Android Studio from the launcher or from the terminal with the
$ asb
command.
Android Studio is available and compatible with Windows, Mac OS X and Linux. Here you have the most important packages to install the most appropriate for your operating system.
Install SDK Tools Only
Platform | Package | Size |
---|---|---|
Windows | installer_r24.4.1-windows.exe (Recommended) | 151659917 bytes |
android-sdk_r24.4.1-windows.zip | 199701062 bytes | |
android-sdk_r24.4.1-macosx.zip | 102781947 bytes | |
Linux | android-sdk_r24.4.1-linux.tgz | 326412652 bytes |
Install all Android Studio Packages
Platform | Package | Size |
---|---|---|
Windows | android-studio-bundle-141.2456560-windows.exe (Recommended) |
1209163328 bytes |
android-studio-ide-141.2456560-windows.exe (No SDK tools included) |
351419656 bytes | |
android-studio-ide-141.2456560-windows.zip | 375635150 bytes | |
android-studio-ide-141.2456560-mac.dmg | 367456698 bytes | |
Linux | android-studio-ide-141.2456560-linux.zip | 380943097 bytes |
COMMENTS