Why use Android Studio, you know.
The development environment includesJAVA SDK,Virtual Box,Git,Android SDK,Android Studioandgenymotion,AndroidAdoptJAVAas a development language,JAVA SDKessential, easy to install;Android SDKthe simulator is very slow and therefore usesgenymotionvirtual device debugging, a lot of speed, the software has a free version and a paid version, needVirtual Boxsupport;Gitas a version management software,Android SDKprovideAndroiddevelopment of the requiredAPIand related building tools;Android Studiois one based on theIntelliJ Ideaintegrated development environment to integrate the above tools into one whole;Android Studioalso integrates theGradlebuild the system. The following step by step to build the entire system, while solving the environmental problems arising from the construction, such as "by the wall" problem. This environment is based on win 8.1, similar to other systems.
1. Installing the Java SDK
to the link http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html download the SDK and install it, usually more smoothly. An important step after installation is to set the environment variable: if you set Java_home to C:\Program files\java\jdk1.8.0_25, add it after the value of the path variable;%java_home%\ Bin;%java_home%\jre\bin; Set variable classpath to.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar (Note: There is a point in front of the current path), after the setup is complete, open the Windows console input JAVA- Version if the output release information is installed.
2. Install virtual box and genymotion
to link http://www.genymotion.com/register an account directly download genymotion, free version and paid version, free version for some sensors are not supported. Choose the free version here, download the installation package is also divided into virtual box and without, if you have installed virtual box directly download without the virtual box installation package, the installation process is relatively simple. After installation, you can open the genymotion virtual device vs. Android The emulator of the SDK is much faster. Is the result after the start, the operation is also very convenient.
3. Install Android Studio and Android SDK
< Span style= "FONT-SIZE:14PX; Font-family: ' Times New Roman ' ">
After Setup, quit, start Android studio, and wait patiently to complete the installation of Android studio.
4. Install git
To use Git for versioning, you need to install Git, but Android studio does not own it, so download the installation to http://git-scm.com/download/. Then specify the Git.exe location in the Android git settings.
Building the Android Studio development environment