Android development environment installation and configuration graphics and text tutorial _android

Source: Internet
Author: User
Tags android sdk manager java se

First, install JDK, SDK, NDK

Whether you're developing Androd apps with C # and VS2015, or developing Androd apps with Java and Eclipse, you'll need to install both the JDK and the Android SDK. After installing these, then configure the installation path in the development tool.

1. Install JDK

The following two are to be installed:

Jdk-6u45-windows-i586.exe

Jdk-7u79-windows-i586.exe

To find the corresponding files on the Internet to download the operation can be, Oracle's official online, free download.

2, install the Android SDK

Download the following Android SDK installer and install it under the D:\Aandroid\android-sdk folder.

Installer_r24.4-windows.exe

After installation, run the SDK Manager.exe, in the main interface, select "Tools"--> "Options", in the Pop-up interface, select "Settings", HTTP Proxy server filled " Mirrors.dormforce.net "," 80 "in Http Proxy port, and then check" Force https://...sources to be fetched using http://... ", close after closing SDK Manager, rerun, and then download the corresponding package.

Which versions of the Android SDK should you download? In fact, from the latest Android 6.0 to the previous release of the various versions of the SDK, it's up to you to see which version of the platform you're going to install your application on. If your computer is tyrants level, you can even install from Android 2.2 to Android 6.0, and if you're afraid your computer's hard drive is too much, just select the most popular versions of the current version.

My hard disk capacity is limited, so I only chose the following three versions:

Android 6.0 (API 23)

Android 5.0 (API 21)

Android 4.4 (API 19)

Note that the latest version of the Android SDK tools and the Android SDK Platform-tools must be installed, and the corresponding version of the Android SDK Build-tools and SDK Platform must also be installed, System Image chooses to install as needed.

The following is a screenshot of the interface that should be seen after downloading and automatically installing the corresponding installation package via SDK Manager (no screenshots are "not Installed"):

3, "optional" installation HAXM

This step only applies to Intel's CPU,AMD CPU and skip it.

Locate the extras (last line) download HAXM, run it, and use the default configuration. Installation of problems encountered and solutions to find their own online.

I use a notebook that is Intel's CPU, so in the Android SDK manager download the Intel's Android x86 simulator (with GPU acceleration after installation HAXM, fast, simulator startup less than 1 minutes, operation is very smooth), In addition to the Intel-x86 simulator, Intel's CPUs can also be tested with arm simulators (because the accelerator is not available, the simulator starts slowly, and takes about 3 minutes to start successfully, and operates slightly less smoothly but does not affect use).

If it is an AMD CPU, you can only use the ARM simulator to debug the Android program (start slower for the first time).

Ii. installation of VS2015 and SP1

1. Installation VS2015

VS2015 Simplified Chinese Enterprise Edition: Vs2015.ent_chs.iso (3.88 GB)

VS2015 Simplified Chinese Enterprise Edition sp1:vs2015.1

It is best to download the two files on the website of Microsoft, and then go to the domestic Internet to find a serial number, random search, everywhere is, here is not to say more.

Load the Vs2015.ent_chs.iso file into the virtual CD drive, and then run the installation, select Customize, and note the Android Native Development Kit (r10e,32 bit), but do not check the yellow section below (these follow up steps to install again):

• Cross-platform mobile development

"" Xamarin (c#/.net)

• Common Tools and SDK

"√" Android native development Kit (r10e,32 bit)

"" Android SDK

"" Android SDK Installer (API levels 19 and 21)

"" Android SDK Installer (API level 22)

"" Android SDK Installer (API level 23)

"" Java SE Development Kit (7.0.550.13)

Other options are optional depending on your needs, just make sure the options are correct, and then click Next until the installation is complete.

2, installation VS2015 SP1

The VS2015 SP1 contains VS2015 bug fixes and feature enhancements.

Install it directly after downloading.

Third, install Xamarin for VS2015

1, install Xamarin for Visual Studio 4.0.0.1717 stable version

(1) Xamarin for VS released version

EARLIER: (slightly)

2015 months released: Xamarin for VS 3.11.1594 satble Edition

November 2015 release: Xamarin for VS 4.0.0.1717 Stable edition

(2) Install Xamarin for VS 4.0.0.1717 stable version

The latest version of Xamarin's official website is the Xamarin for VS 4.0.0.1717 stable edition released in November 2015.

Download the Xamarin.visualstudio_4.0.0.1717.msi file from the URL below:

Http://download.xamarin.com/XamarinforVisualStudio/Windows/Xamarin.VisualStudio_4.0.0.1717.msi

After downloading, you can run the installation directly.

The following is the interface for installation (note that before installing a new version of Xamarin, uninstall the original installed version of the Xamarin from the Control Panel and restart the system before running the installer):

2, cracked Xamarin for Visual Studio 4.0.0.1717 stable version

This version of the cracked version of the original URL:

Http://www.cnblogs.com/phytan/p/xamarincrack2.html

WIN7+VS2015 has been tested and cracked no problem, please refer to the Web site for specific solutions.

Note that you need to restart your computer after cracking.

Iv. Configuring the Android development environment

VS2015 under the Android development environment configuration is very simple, under VS2015 set JDK, SDK, NDK installation path can be.

Run VS2015, "Tools"--> "Options"--> "Xamarin", specifying the following configuration:

So far, the development environment of the Android app with C # has been installed.

V. View the installed development template

After breaking the steps in the URL, run VS2015 to see if the installed template is correct.

(1) Observe the Xamarin version installed under VS2015

(2) View the Android development template

(3) View the ipad development template

(4) View the iphone development template

(5) View cross-platform development template

The next section describes how to create an Android emulator.

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

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.