I was originally developed by. NET, but see the current form of the Internet moving towards mobile development. The trend, I began to learn the development of Android
Today is to talk about some of my experience with Android development. Today I'm talking about the experience of building an Android platform:
The 1,android platform is built to deploy the environment:
Main: 1,JDK installation, 2, configuration environment variables, 3,android SDK installation; 4,eclipse installation; 5,adt installation;
Personal advice: All the installation path Ah, preferably placed on the same drive letter, as for why? Don't worry, I will have a follow-up to explain (deliberately sell a xiaoguanzi,,, hey ...!) )
1,JDK installation ---can download the installation package on the official website, after installation, select the path ... After installation, generate 2 folders, namely: JDK and JRE; (I will not dwell on this);
2, Configure the environment variables ---Know the Java development of friends, all know how to configure, here I still explain, because in this process, I really do not pass at once.
Here's how to do this: after you open the environment variable in your computer, find the system variable. Click "New", in "Variable name" input: Java_home, in "Variable value" Input:jdk folder path ( my is D:\Java
\jdk1.8.0_66) , and then find path in "System variables", at the end of the variable value, add "%java_home%\bin;%java_home%\jre\bin;", which is actually pointing to the
The path to our JDK and JRE. The last is to find "ClassPath" in the "System variables" (if not, create a new one),
The value of the variable is: ".; %java_home%\bin;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar "(Note that there is one.) , you can copy all the past)
To verify that the installation is successful: (originally on the Internet, I also say a few more words), after the installation is complete, open the cmd Command Prompt window, Enter: Java, if so,
Continue typing: javac, whether
Input: java-version, whether
3,install the Android SDK ---Download the installation package from the official website, click Install. I will simply call the Android SDK "ASDK"! After the installation, we found that the installed folder is actually 4G. Then inside the installation folder
Find "SDK Manager.exe" open, will let us choose which items need to install, in the convenience of everyone's needs, I also cut a picture here;
Here's a red label: Because Google has blocked the whole of China, I chose "FQ", and I used the tool: "Psiphon" (Https://s3.amazonaws.com/57wj-4j1q-wa7e/zh
/download.html)
4,installation of Eclipse. after downloading the installation package from the official website, click Install. Process requires us to select the "Workbench" path. This is not a special place, according to the process of installation is complete;
5, Installation of ADT. Open the "Help"---"Install new software" In the Eclipse toolbar, then click "Add" and in "Archive" Select the directory path of "ADT" that we downloaded. Name, no deliberate
limit system, can be named according to your mood, as shown, (hahaha ...!) No, you can do it all.
6, install to this time, you can look at your "window" under the "Android SDK Manager", if not, relax, follow the steps below: under "window" to find "perferences",
Find "Android" on the right of "Browse" and select our "Android SDK" path directory. Then rebuild the catalog and you can! Such as:
7, you can now create an Android project ... As for how to successfully create an Android project, next, I will slowly explain ... Thunder, I have to hurry to submit, otherwise the power outage, the network can not be submitted
Crossing, if you have any questions, you can chat with me, my: Parning-666888 Welcome to learn to communicate.
About the Android platform build---Wang Yongjun