Installing the JDKThe latest linux64-bit JDK package from the Oracle website (now JDK-8U92-LINUX-X64.TAR.GZ) commands the new folder as follows-unzip sudo MKDIR/USR/LIB/JVM
sudo tar zxvf jdk-8u92-linux-x64.tar.gz-c/USR/LIB/JVM set environment variable sudo gedit/etc/profile add environment variable content #set Java environment
Export java_home=/usr/lib/jvm/jdk1.8.0_92
Export JRE_HOME=${JAVA_HOME}/JRE
Export Classpath=.:${java_home}/lib:${jre_home}/lib
Export path=${java_home}/bin: $PATH source/etc/profile update file Test java-version show JDK version is successfully configured
[Email protected]:~$ java-version
Java Version "1.8.0_92"
Java (TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot (TM) 64-bit Server VM (build 25.92-b14, Mixed mode)
Installing Android-studioNote-------is a prerequisite for scientific access to the Internet
sudo apt-add-repository ppa:paolorotolo/android-studio add android-studio source sudo apt-get update software list sudo apt-get ins Tall Android-studio Installation Android-studio//Because 64-bit system requires two 32 of library files, it is very important, these libraries do not install, will not open, and normal operation//essays written late, if not remember the words are the two, if not, please search by yourself. $sudo apt-get Install libstdc++6 $sudo apt-get Install lib32stdc++6
Installing Genymotion
First go to Genymotion's official website (http://www.genymotion.net/) to register an account, (free), and then have permission to download his latest file Genymotionxxxxx64.bin a. bin file.
And then
chmod +x genymotionxxxxx64.bin//Give Execute permission
./genymotionxxxxx.bin-d/home/the directory to install
Search GenY in dash to find the program
Enter account to create the virtual machine account number as [email protected] (enter your account number and password)
Free for individual users, but limited functionality, and can only create a virtual machine, but fast (25 seconds to boot), suitable for beginners,
If you are using eclipse to develop, you need to install a genymotion plug-in to use it, if android-studio, you can start the virtual machine, directly click on the running program to achieve debugging.
Ubuntu under the command line to install Jdk,android-studio, and genymotion virtual machine for Android development