Presentation of Android Studio
Android Studio is the new IDE (Interface Development Environment) available for building Android applications.
The installation requires around 6GB of free space.
Before installing Android Studio itself, you need to install some packages.
Install the openjdk 1.7 tools:
# yum install -y java-1.7.0-openjdk-devel
Install some additional libraries:
# yum install -y compat-libstdc++-33.i686 compat-libstdc++-33.x86_64 ncurses-libs.i686
As a user and under a graphical RHEL/CentOS desktop (if you execute this step under Microsoft Windows, you will get a Windows binary), go to the Android Studio page and download the software (~336MB).
As root, go to your Downloads directory, move the zip file into the /opt directory:
# mv android-studio-ide-141.2178183-linux.zip /opt # cd /opt # unzip android-studio-ide-141.2178183-linux.zip
Note: You can optionally remove the zip file.
Launch the installation process:
Select the Configure/SDK Manager option to download the Android SDK (several hundreds MB).
Then, select the Configure/Create Desktop Entry option to create a menu option in the RHEL/CentOS graphical interface.