.net programmers in Android first - environment deployment

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

For.Net developers to write Java, can be said that the mountain is the mountain, because too many of the same;

The recent period of time because of work, the project of some functions need to transplant to Android platform, after half a month of suffering, and finally done.

The article will be visual record my study on the development of the Android to do the project and share with everyone.

Well, nonsense not say. Into the theme;


From the environment to build, bloggers are using

System: windows server 2003

Prepare documents: JRE, JDK6 | eclipse 3.6.2 version | ADT-21| Android SDK  

When the documents are ready, they began to set up your Android development environment.

ps: You see here don't hurry to download, you can see below, to go better.

The first step

  First of all you can go here to download the JRE and JDK, download please optimistic version and its system compatibility: click here to download

, To make the Java personnel all know, here I am for.Net developers say remind “ first installed JRE, in JDK”. We also stressed the importance of version 6 and above, because the Android SDK version is not compatible, I used 7.

The second step

Then go to download Android SDK, click here to download

   Enter the page, can take a minute to see this, especially at the bottom of the page.

These options. In order to avoid the unnecessary waste of time.


Once the download is complete, run after extracting SDK Manager.exe file,

The Android1.5-Android4.2 menu, and then click Install (package) Packages, the need to spend a little time, wait patiently.


When the state is such., 

 It represents the completion.

Next is the key, so the use of red font to write.

First, to create a new user variables, right-click My Computer -> property -> -> the environment variable -> click on the [new user variables (N)]-> add the following variables: Tools absolute path in Android SDK.

Then with a good environment, restart your computer.

 Well, go back to the article, open the CMD command line, enterandroid –h,

This step is to check if SDK is installed, if there is a class of output, prove your correct installation, can enter the next step;

The third step

This step is not particularly important, is to download a eclipse. but also out that is because Android SDK with this also has a relationship, it is recommended you download the version 3.6 and above.

Actually very simple, download, unzip, directly run the eclipse.exe file can be opened.

The fourth step

Open eclipse, ready to install Android ADT, his gaze to the top menu bar, select Help (help) > Install New Software,

Then a session pop-up box, requires the input of Name and Location, Name literally take, Location input http://dl-ssl.google.com/android/eclipse  or HTTPS://dl-ssl.google.com/android/eclipse/,

ps: Many domestic users are unable to complete the upgrade, usually to half without any reflection.

  Never mind, we directly to Android official website to download the ADT plug-in download here

Can also be directly Baidu“ADT-21.1.0.zip”.

A successful visit friends might see this interface,

, Solution Next installation.

The installation need to restart Eclipse after reboot, eclipse will automatically pop-up specifies the SDK path, select the Use existing SDKs, Existing Location Android SDK is the path, as shown below:

  Next Eclipse is it right? Have a look, you do not like, have a look your action bar is it right? More than two Icon,


This icon, a pop-up window, click New to create a simulator called myavd2.2, input Name,

   Select a screen size of 4 WVGA(480×800) ,

   The specified Target Android2.2-API Level 8 ,

   And redistribution of SD Card in size, and finally click OK,

   Then returning to the pop-up interface, select you want to start AVD, also is the one that you just newly built, start interface click on Start the...

   A pop-up window, don't tube he, if no special demands, a don't tick, click on the launch button.

   Of course, if you think just parameter setting is wrong, you can also select the new one AVD, the operation button, such as modification and so on....

The fifth step

Start up the 2 forms, the first is the


   And then this,

When the first progress bar to walk, you can take it cancel off,

Then we are familiar with the Android interface will come out,

,Because Google product, the default is English language, we must immediately set we are familiar with the language

Open the lock, to enter the main menu.

This application, click go in, quickly pull down. Find

Finally, click on the line

, Different versions of the button is not the same.

Well, here if you are successful, you, your computer Android development environment are deployed, enjoy your exploration.

The next article I will be.Net programmer with shallow and easy way to write me doing something worth to pay attention to where the Android project process, and actual combat experience.

If not, we can say, so that we can learn from each other. If you want instant discussion, plus I create a QQ group:


Copyright statement: the original published in the blog, the author Wen Min, in this paper, welcome to reprint, but without the permission of the author must keep this statement, and the connection was not given the position in the article page, otherwise regarded as tort.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Rose at November 14, 2013 - 3:30 AM