Some time ago began to learn the journey of Android, want to write an essay, record a bit of learning Android! From now on, weekly and Saturday Sunday will continue to update the recent learning of Android.
Today will show you how to build an Android development environment using Android Studio.
First step: Download and install JDK8 www.oracle.com
Configuring System Environment Variables
Java_home C:\Program files\java\jdk1.8.0_66
CLASSPATH.; C:\Program Files\java\jdk1.8.0_66\bin; C:\Program Files\java\jdk1.8.0_66\lib
PATH( add ) C:\Program Files\java\jdk1.8.0_66\bin
Android Studio supports JDK version 7.0 and above
Step Two: http://developer.android.com/sdk/index.html download Android Studio
Android Studio + Android SDK
Android_sdk_home D:\ANDROID-STUDIO-BUNDLE-WINDOWS\SDK ( This directory is the directory of my Computer Android SDK, you can configure according to the actual situation )
PATH D:\android-studio-bundle-windows\sdk\platform-tools;d:\android-studio-bundle-windows\sdk\tools
Step three: Download the genymotion (Android emulator) +oracle VM VirtualBox (theimage file required to load the emulator) in Www.genymotion.com + Genymotion-idea-plugin-xxxxx.jar(connected to Android studio and its external genymotion) installs the genymotion and VirtualBox process relatively simple, Directly click the next step, install the genymotion after you open it to enter the Genymotion website registered account and password, download the image file.
The following will focus on how to install Genymotion.jar in Android
1. Open Android Studio Click on the small wrench (the setting in the small wrench is related to the development environment, the icon behind the wrench is associated with the Android project)
2. In the popup dialog box, select the plugin option, which is the plugin meaning, click Install plugin from disk
3. Find your Genymotion-idea-plugin-xxxxx.jar in the popup dialog box and click OK
4 you will see another genymotion option under Other settings, click it to select the root directory of Genymotion
5. At this point you will see a small red phone icon on the toolbar, to this plug-in installation is complete, the next step to start running your genymotion, click the Start button
after startup you will see a simulated phone
Given the compatibility of virtual machines and systems, it is recommended that you do not use WIN10, use Win7 and win8 as much as possible, or there will be many strange problems.
also have to ensure that their computer graphics card driver updated, or in the boot simulator is likely to be reported that the simulator failed to start, 2d rendering failed. Personal effort.
Android Note--android Studio Environment setup