1,
Install JDK
To do Android development, you must first select a development language, which can be Java or C ++. I usually use Java, so here I mainly talk about the installation method of Java.
First, check whether JDK is installed on your computer. If not, download it:
JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Click Next.
2,
Install eclipse
Eclipse is a tool developed by Android. Its installation is also very simple.
Eclipse: http://www.eclipse.org/downloads /;
3,
Install SDK
SDK is essential for Android development. It can be decompressed just like Eclipse. Do not place the SDK in the Chinese directory. errors may occur during configuration. Do not place the SDK in the Chinese directory (cause: Garbled characters may exist );
Android SDK: http://developer.android.com /;
4,
Environment Configuration
First, configure the JDK environment:
Right-click my computer Properties
Advanced Environment Variables
Double-click the PATH variable in the system environment variable.
Add your JDK bin directory address after the variable value (my bin directory address is: D: \ Program Files \ Java \ jdk1.6.0 _ 30 \ bin, it is best to add ";" before the address, such as "; D: \ Program
Files \ Java \ jdk1.6.0 _ 30 \ bin; ") -- click" OK.
Eclipse environment Configuration:
Find eclipse.exe In the extracted secret directory and double-click it.
Next, you will enter the eclipse interface. First, check whether the ADT plug-in is installed in your eclipse. If you download eclipse directly, there should be no ADT plug-in your eclipse, but check it out. Method: On the eclipse page, click window and preferences,
Check whether there are any android options on the right. If not, it indicates that you do not have the ADT plug-in.
Of course, my environment is ready after configuration. It is not difficult to install the ADT plug-in. Click Help on the eclipse interface. Select install new software;
Click Add;
Write ADT in name (in fact, everything is okay, just a name, it is better to enter what you can remember for convenient query ). Enter the URL http://dl-ssl.google.com/android/eclipse/in location.
Click OK
Then click Select All (that is, select all, some may not be yours ). Click Next and click Finish on the next page.
In fact, you can download the ADT by yourself;
Adthttp: // androidappdocs.appspot.com/sdk/eclipse-adt.html;
Decompress the package
Copy the two folders and paste them in the eclipse file directory. (In fact, just copy the stuff in the two folders to the same file in the eclipse directory)
SDK environment Configuration:
Decompress the downloaded SDK, click window on the eclipse interface, and select preferences. See the figure above. Click Android and Click Browse on the left to select your SDK directory. I think you should know that you don't need to be a programmer.
On the eclipse page, click window and select Android SDK Manager (on the eclipse page, which has the same shortcut key as that icon, find it on your own)
Android X. x. X indicates that various Android versions may not be fully used. You can see that development is generally in step 2. you do not need to select all versions of X or later. It is a time-consuming download from the internet. I remember that the download was tangled. Then click Install
Packages is enough. You can watch a movie first.
After downloading, you can develop your android program. Later, when you update the SDK, you will find it slow. Then you should modify c: \ windows \ system32 \ drivers \ etc \ hosts and add 74.125.237.1 to the last line.
Dl-ssl.google.com, this is done.
If you are in a company, it is best to install the svn plug-in again. What SVN is doing? If you don't know, Baidu.
SVN environment Configuration:
This is the same as installing the ADT configuration on the network, but in install new software, click Add (as shown above), write Svn in name, fill in the URL in location: http://subclipse.tigris.org/update_1.0.x
The rest is the same as the installation of ADT. On the eclipse page, click window and the show icon appears.
View. You will find SVN as follows.
I often use the svn resource library. I don't want to talk about it in terms of usage. You can watch it yourself.
ArcGIS environment Configuration:
If you are engaged in ArcGIS for Android, You have to install the ArcGIS plug-in this can also be installed through the network and Svn, Adt, name for ArcGIS, location for the http://downloads.esri.com/software/arcgis/android
Right-click your project and you will see that you have succeeded in ArcGIS tools.
The ArcGIS version that I installed on the internet is lower than the new ArcGIS version. I have downloaded the latest version on the official website and decompress and copy the two folders mentioned above, then paste it in the eclipse file directory and restart eclipse. OK. My ArcGIS plug-in is in the latest version.
In fact, this article was written for myself. I just changed a company and suddenly forgot how to install and write Dongdong. This is not easy to remember. Write it down to avoid forgetting it later, it is more convenient.