For. NET developers to write Java, it is said to see Mountains are mountains, because too much of the same;
Recently, due to work factors, some of the functions of the project need to be ported to the Android platform, after half a month of suffering, finally finished.
The article will visually record my work on Android development in the project and share it with everyone.
All right, no more nonsense. Enter the subject;
Preparation matters
Starting with the environment, bloggers are using
System:Windows Server 2003
Preparing files:JRE, JDK6 above | Eclipse 3.6.2 version | adt-21| Android SDK
When the above files are ready, start building your Android development environment.
PS: We see here do not worry first to download, you can see below, in going to the next better.
The first step
First of all, you can go here to download the JRE and JDK, please check the version and your system is compatible: Click here to download
, for Java people know, here I say to the. NET developer a reminder "Install the JRE first, install the JDK." The above also emphasizes version 6 above, because the version of the Android SDK is incompatible, I use 7.
Step Two
Then download the Android SDK, click here to download
Go to the page and take a minute to see the introduction, especially the options at the bottom of the page. So as not to waste as unnecessary time.
After the download is complete, run the extracted SDK Manager.exe file,
Select android1.5-android4.2, then click Install (Pack number) Packages, this will take some time, wait patiently.
.....
When the following state is rotten, it means that it is done.
Next is the focus, so use the red font to write.
First go to create a new user variable, right-click My Computer, Properties-----environment variable----User variables, select [New (N)]-> Add the following environment variable value: the tools absolute path in the Android SDK.
After the environment is in place, restart the computer.
OK, go back to the article, open the cmd command line, enter android–h,
This step is to check whether the SDK is installed successfully, if there is class output, prove that you installed correctly, you can go to the next step;
Step Three
This step is not particularly important, it is to download an eclipse. But also come out because the Android SDK is also related to this, we recommend that you download more than 3.6 version.
In fact also very simple, download down, unzip, directly run Eclipse.exe file can be opened.
Fourth Step
open Eclipse, ready to install Android ADT, gaze at the top of the menu bar, select Help > Install New software,
A session box will then pop up asking for the name and Location,name to take, location input http://dl-ssl.google.com/android/eclipse or https:// dl-ssl.google.com/android/eclipse/,