Android Note--android Studio Environment setup

Source: Internet
Author: User
Tags oracle vm virtualbox vm virtualbox

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.