Android Learning note ①--Android Tools Basic Installation

Source: Internet
Author: User

Android has been out for a long time, online tutorials also have a lot, afraid to forget later on the online Daniel share the knowledge of their own learning, but also record, if you can help others, that is better but!

In view of the IDE tools now, idea has occupied half of Java, Android Studio has gradually become the first choice of Android development tools, I learned when the choice of using Android Studio, to learn good, haha ha!

    The basic environment is described as follows:

System environment: WINDOW7 x64

Need to install the JDK environment:

Java Runtime Environment (JRE) 6 or higher

Java Development Kit (JDK) 7 or higher

IDE Selection: Ide:android-studio-ide-145.3001415-windows

Android Simulator: genymotion-2.8.0

Sdk:android-sdk_r24.4.1-windows (Download a lot, not very understand)

The above tools can be self-Baidu download, or Baidu cloud disk download.

    thanks to the deep open source: http://www.open-open.com/lib/view/open1468118887690.html The following notes based on the deep open source article above (standing on the shoulders of giants:)) to learn and get

    Download the article:

I downloaded the green version of the portal password: WWVT

    Installation article:

1, first need to determine whether to install the JDK environment, detection method win+r input cmd and then enter java-version in the black box, similar to the right, the author is 1.8.0 so the final version number is not the same.

If the environment is configured correctly, then continue to the next step, if not the case of Baidu to explore a bit

2. Unzip the already downloaded Green version of Android Studio

3, according to their own computer is how many bits of choice click EXE Run program

4, the first time will jump out to request the agent prompt:

Click on the "Setup Propxy" button to set up the agent:
Host name:mirrors.neusoft.edu.cn
Port number:80

    

5. Click OK to enter the Welcome page and tell us that we can develop applications for tablet, mobile, watch, TV, car and glasses.

6. Click "Next" button to select "Custom" option in the Options window.

7, UI theme can choose the current popular "Darcula" theme, it is said that the theme has the effect of protecting the eyes

8. After the selection, the next step is to install the SDK

A) Download the SDK

Official Download: Https://dl.google.com/android/android-sdk_r24.4.1-windows.zip
Deepin network disk Download: Http://pan.baidu.com/s/1jItY6jW

b) Unzip the ZIP package and execute the SDK Manager

Select the package you want to install:

        Accept the license and start the installation:

c) Set the location of the Android SDK, select the location where you just downloaded the storage SDK, this time, the basic IDE tools will be installed!

          

    Configuration article:

You can open the Settings window by pressing the shortcut key ctrl+alt+s or clicking "Configure" to pop up the menu item settings.

1, theme configuration: Can be set to the current more popular Darcula theme, through appearance & Bahavior > Apperance UI Options settings.

    

2, font configuration: The default font is small, you can configure the appropriate font size according to your needs, through Editor->color & Fonts > Font settings. The default scheme is read-only, and you need to save as before you can modify the font size. To change the font again:

3. Display code lines: The default Android studio does not display the number of lines of code, so for some of the error of XX line is not convenient to locate, in the configuration of the Query window input line num keyword query needs to configure the project, and then select the Appearance option, You can see the Show line numbers option and hook it up.

4, Simulator choice: Android Stuido inside the AVD Manager can create the simulator, the use is also relatively simple, the disadvantage is that performance is not good, now more popular use genymotion, known as the fastest Android simulator. Now we're going to install genymontion. Because genymontion need to have an account before you can use:

Prerequisite preparation is the need to install Virtual box: Click here to open the Virtual box download page and click X86/amd64 to download:

After the download is complete, click, start installing the rhythm of the next and install it, then install the genymotion we need.

A) Registered users: Click here to enter the user name, email address and password in the page, and accept the relevant agreement, you can register the user.

b) Click here to open the download page and click the Download button to start the download.

c) After download, install genymotion Double-click: Start the installation, then always next know the installation is complete, after the installation is complete, select the "Browse repositories" button in the "File > Settings ... > Plugins" dialog box.

d) Enter genymotion in the search box in the Browse Repositories window and click the Install button when the query results come out:

 

e); Android Studio will prompt for reboot after genymotion, and you can see the Genymontion Small icon on the toolbar after rebooting.

f) First click on the Genymontion Small icon will open the Genymontion settings, click on the Settings ... button to specify the location of the Genymontion app (default location: C:\Program files\genymobile\genymotion).

g) After the path is set up, clicking the Genymontion Small icon will open genymontion Device Manager. Note: If you are prompted with "Genymontion:initialize engine:failed", check that virtual box is working correctly.

h) Click the New button in Genymontion Device Manager to create a new emulator.

i) You need to log in to Genymontion in the Create Wizard, click the Sing in button to log in.

    

j) After successful login, you can see the different models of the simulator in the list of available options, and you can find the simulator you want to create by version and device model.

K) then all the way next after waiting for genymontion to download the simulator.

  

L) After the download is complete, the next thing is a little bit, in each use, as long as the simulator to start up, to ensure that the emulator status is on.

m) when running, Android Studio detects the Genymotion emulator, and click OK to start compiling and installing the app.

N) last-run interface

The above is the basic installation of Android tools--android Studio and some of the required plug-in installation, the preparation of the work done, the other will be more effective!

   Thanks again for deep Open source

Original title: Android Studio2.0 Tutorial from Getting Started to mastering Windows Edition-installation article
Original address:http://www.open-open.com/lib/view/open1468118887690.html

Android Learning note ①--Android Tools Basic Installation

Related Article

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.