
Step 2: Install Android Studio On Ubuntu 20.04 So, what are you waiting for? Go install Android Studio and have fun developing Android apps.If the output is non-zero it means that your system supports virtualization. It is the only official IDE tool that will support future Android SDKs and other Android features that will be provided by Google. Within a year of its release, Android Studio has taken over as the primary IDE for Android development by eclipsing Eclipse. To enable classic snap support, type: $ sudo ln -s /var/lib/snapd/snap /snapįinally, to install android studio using snap, type $ sudo snap install android-studio -classic Conclusion Install snap using yum: $ sudo yum install snapdĮnable snap communication socket: $ sudo systemctl enable -now snapd.socket If you are running CentOS 7.6+ or Red Hat Enterprise Linux 7.6, then you can use snap package to install android studio.įirst add EPEL repo: $ sudo yum install epel-release Installing Andriod Studio Using Snap package When the installation completes, you can start creating your own Android applications. Now launch the studio from a terminal: # android-studio # ln -s /opt/android-studio/bin/studio.sh /usr/local/bin/android-studio

You can create a simlink to the studio executable to quickly start it whenever you need it. Move android-studio directory to /opt directory # mv /tmp/android-studio/ /opt/ Let us now install studio by downloading the ide file from Android site and unzipping the same. If you notice any error message of the sort "unable-to-run-mksdcard-sdk-tool:" while trying to install Android Studio, you might also have to install the following packages on CentOS 7 64-bit: glibc.i686 Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Hence, set the correct path: export JAVA_HOME=/usr/java/jdk1.8.0_25/Ĭheck if the correct version has been installed: # java -version If Java path is not set properly, you will get error messages. I will be installing JDK version 1.8.0_65 by downloading the required rpm. In case you already have an older version installed, remove the same before installing the new one. You can download the latest version of JDK. Remember to use 'sudo' before the commands if you are not a root user. In this article, we will learn how to install Android Studio on CentOS 7. It provides tools to build apps on every Android device. Android Studio is a free and open source tool. Android Studio is an Integrated Development Environment (IDE) for developing Android applications based on IntelliJ IDEA.
