Just start learning Android, record their own learning process, and hope to work together with you to learn, progress
Now that you want to learn Android development, the first thing is to build an Android development environment, the previous Android development environment is the eclipse+android SDK, because the following Google's main recommended development tools are Android studio, therefore, This article also mainly records the process of building Androi Studio.
1. Build Java SDK
As we all know, the Android SDK is mostly referred to the Java SDK, so first we have to install the Java environment, that is, the installation of Java sdk+ Configuration environment variables, the two of the internet has a lot of information, we should all be able to easily fix
2. Install Android Studio
1). Download Android Studio installation package, this article using Android Studio (version: 1.2.0.0) + java SDK (8.0.510.16), can be online to
2). Install Android Studio, the next step, because Android will install the Android SDK by default, so we can save ourselves from installing the Android SDK
3). When the installation is complete, start Android Studio
3. Configure Android Virtual device
1). Open Virtual Device Manager
2). Manage or create a new virtual appliance
3). Select the device you want in the pop-up interface.
4. Start the virtual device (I have the biggest problem during the installation process is this step)
In the virtual Device management interface, click on the device you want to launch a similar to the play of the green button can be started, during the startup process, the following issues pop up
The solution to this problem is shown in the link: http://www.cnblogs.com/csulennon/p/4178404.html;
Because my Computer configuration is a bit low, does not support "Virtualization Technology" technology, so choose to use a third-party virtual machine, this article selected the Genymotion simulator
Genymotion Simulator Installation: https://www.genymotion.com/#!/download, download required registration, about the installation of genymotion and how to associate with Android studio, the link already has guidance
When the association is complete, the Genymotion Emulator management icon appears in the Android studio navigation bar
Configure the Genymotion emulator, management interface such as, you can add, start the virtual device
When you debug an app, start a virtual machine, and then Android Studio can choose to debug it on this startup virtual device
My first app runs the effect:
PS: There are any questions in this article, please correct and communicate
Build Android development environment, Android Studio + genymotion