Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ How to Install Android Studio on Ubuntu 15.04 / CentOS7     - Android will save the picture to see the album and timely (Programming)

- Some common Linux commands Study Notes (Linux)

- 7 JavaScript interview questions (Programming)

- Ruby and Python simple comparison (Programming)

- installation of Vim plugin YouCompleteMe under Ubuntu 15.04 (Linux)

- Mac OS X 10.10 Yosemite compiling OpenJDK 9 (Linux)

- Oracle ORA-01691 error message, a single data file size limit problem (Database)

- Java implementation chain store binary tree (Programming)

- How a lot of blocking malicious IP address in Linux (Linux)

- Under CentOS yum install Nginx smooth switch mounted to Tengine (Server)

- Encounter ORA-00600: internal error code, arguments: [4194] ORA-1552 (Database)

- Linux Security Setup Guide (Linux)

- Use py2exe to generate exe files Python script (Programming)

- Zabbix configuration external network mail alarm (Server)

- How to install Eclipse Luna IDE on CentOS 7 / RHEL 7 (Linux)

- Example of use WebSocket (Programming)

- Firewall Configuration Red Hat Enterprise Linux 4 (Linux)

- Cool Android realization SVG animation (Programming)

- MongoDB fragmentation (Cluster) (Database)

- Use SecureCRT to transfer files between local and remote hosts (Linux)

 
         
  How to Install Android Studio on Ubuntu 15.04 / CentOS7
     
  Add Date : 2018-11-21      
         
         
         
  With the progress in recent years, smartphones, Android has become one of the largest mobile phone platform, all the tools in the development of Android applications that can also be used free of charge. Android Studio is based on IntelliJ IDEA for developing Android applications integrated development environment (IDE). Google 2014 it is released in free and open source software as a major after Eclipse IDE.

In this article, we learn together how to install Android Studio on Ubuntu 15.04 and CentOS 7.

Installed on Ubuntu 15.04

We can install Android Studio in two ways. The first is to configure the necessary libraries and then install it; the other is to download and install locally compiled from the official Android website. In the following example, we'll use the command line to set the library and install it. Before continuing, we need to make sure we have installed JDK 1.6 or later.

Here, I intend to install JDK 1.8.

$ Sudo add-apt-repository ppa: webupd8team / java
$ Sudoapt-get update
$ Sudoapt-get install Oracle-java8-installer oracle-java8-set-default
Java verify whether the installation was successful:

poornima @ poornima-Lenovo: ~ $ java -version
Now, set the required libraries to install Android Studio

$ Sudo apt-add-repository ppa: paolorotolo / android-studio

Android-Studio-repo

$ Sudoapt-get update
$ Sudoapt-get install android-studio
The above command installs Android Studio installed in the / opt directory.

Now, run the following command to start the installation wizard:

$ /opt/android-studio/bin/studio.sh
This will activate the installation window. The screenshot below shows the process of installing the Android Studio.

Install Android Studio

Mounting Type

Setting emulator

After you click the Finish button, it will display the page consent agreement. Once you accept the agreement, it will start downloading the necessary components.

Download components

After completion of this step is over Android Studio installation. When you restart Android Studio, you will see the following welcome screen, from here you can start to use Android Studio work.

Welcome Screen

Mounted on a CentOS 7

Now let us look at how to install Android Studio on CentOS 7. Here you also need to install JDK 1.6 or later. If you are not root user, remember to precede the command using 'sudo'. You can download the latest version of the JDK. If you have installed an older version before installing the new version you need to first uninstall the old version. In the following example, I'll need to install JDK 1.8.0_65 download the rpm package.

[Root @ li1260-39 ~] # rpm -ivh jdk-8u65-linux-x64.rpm
Preparing ... ################################# [100%]
Updating / installing ...
1: jdk1.8.0_65-2000: 1.8.0_65-fcs ################################# [100% ]
Unpacking JAR files ...
tools.jar ...
plugin.jar ...
javaws.jar ...
deploy.jar ...
rt.jar ...
jsse.jar ...
charsets.jar ...
localedata.jar ...
jfxrt.jar ...
If you do not set the Java path is correct, you'll see an error message. Therefore, set the correct path:

export JAVA_HOME = / usr / java / jdk1.8.0_25 /
export PATH = $ PATH: $ JAVA_HOME
Check that you have the correct version:

[Root @ li1260-39 ~] # java -version
java version "1.8.0_65"
Java (TM) SE RuntimeEnvironment (build 1.8.0_65-b17)
JavaHotSpot (TM) 64-BitServer VM (build 25.65-b01, mixed mode)
If when you install Android Studio to see how similar "unable-to-run-mksdcard-sdk-tool:" error message, you may want to install the following packages in CentOS 7 64-bit systems:

glibc.i686
glibc-devel.i686
libstdc ++. i686
zlib-devel.i686
ncurses-devel.i686
libX11-devel.i686
libXrender.i686
libXrandr.i686
IDE by downloading files from the Android Web site and then extract the installation is the same studio.

[Root @ li1260-39 tmp] # unzip android-studio-ide-141.2343393-linux.zip
Mobile android-studio directory to the / opt directory

[Root @ li1260-39 tmp] # mv / tmp / android-studio / / opt /
If necessary, you can create a symbolic link to the executable file for the studio quick start.

[Root @ li1260-39 tmp] # ln-s /opt/android-studio/bin/studio.sh / usr / local / bin / android-studio
Now start the studio in Terminal:

[Root @ localhost ~] #studio
After the shots and used to complete the installation in front of the Ubuntu installation process is the same. After installation is complete, you can start developing your own Android apps.

to sum up

Although released less than a year, but has replaced Eclipse Android Studio Android become the main development IDE. It is the only support for Google Android SDK can then be provided and other Android features official IDE tools. So, what are you waiting for? Install Android Studio to quickly experience the fun of it developing Android applications.
     
         
         
         
  More:      
 
- Linux vi command list (Linux)
- Shorewall firewall settings under Ubuntu (Linux)
- How to install and use the Snort in Ubuntu 15.04 (Linux)
- Linux command execution order control and pipeline (Linux)
- CRF ++ Linux use (Linux)
- Repair Raspbian Encountered a section with no Package (Linux)
- Linux centos rm directory does not prompt (Linux)
- Inxi: Get Linux system and hardware information (Linux)
- C language function pointer and a callback function (Programming)
- Ubuntu Tutorial: How to Upgrade a New Linux Kernel 3.12.7 on Ubuntu (Linux)
- Android determine the device network connection status, and determine the connection (Programming)
- On the PC goes heavy security watch your startup items (Linux)
- Thinking in Java study notes - initialization and cleanup (Programming)
- Physical backup and recovery SYSTEM table space (Database)
- Debugging with GDB tool Go (Programming)
- Java NIO2: Buffer (Programming)
- Shilpa Nair interview experience sharing RedHat Linux package management (Linux)
- 11G ASM disk group does not automatically handle MOUNT (Database)
- C language to view various types of data size (Programming)
- Actual SSH port forwarding (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.