1,android is a Java-based development, so install the JDK first. Log in to: http://www.oracle.com/technetwork/java/index.html Download the latest JDK. I downloaded Java SE 8. Java SE 8 64-bit, which is Java standard Edition 8. I like eclipse, and I'm not familiar with NetBeans, so just download the JDK instead of: Java SE 8 with NetBeans 8. Please note that.
2, configure the JDK, right-click on "My Computer", "Properties", "advanced" environment variables, first build an environment variable named "Java_home" in the system variable, the value of which is the location of the JDK installation. Open the "path" variable, followed by the path to the JDK's Bin folder. I do not like to install soft in the system tray C drive, for the steps in this section please see:
JDK Installation path:
650) this.width=650; "title=" 01.png "alt=" wkiom1exa1wh1xxjaabid4rkp10556.png-wh_50 "src=" http://s1.51cto.com/ Wyfs02/m01/84/ed/wkiom1exa1wh1xxjaabid4rkp10556.png-wh_500x0-wm_3-wmp_4-s_2710857812.png "/>
JRE Installation path:
650) this.width=650; "title=" 02.png "alt=" wkiol1exa4ft-lweaabmmddnm2g065.png-wh_50 "src=" http://s5.51cto.com/ Wyfs02/m01/84/ed/wkiol1exa4ft-lweaabmmddnm2g065.png-wh_500x0-wm_3-wmp_4-s_1138398469.png "/>
Installing the JDK will automatically install the JRE, if you just run the Java program (without development) and install the JRE directly. As for the reason, check Baidu.
To configure a Java environment variable:
One: Java_home
The variable value is configured as: The installation path of the JDK
650) this.width=650; "title=" 03.png "alt=" wkiol1excg3jzb5baab5jawoapi419.png-wh_50 "src=" http://s3.51cto.com/ Wyfs02/m01/84/ed/wkiol1excg3jzb5baab5jawoapi419.png-wh_500x0-wm_3-wmp_4-s_3546165344.png "/>
Two: Path
Bin folder pointing to JDK
650) this.width=650; "title=" 04.png "alt=" wkiol1exco2thmcmaacqhydutq0180.png-wh_50 "src=" http://s3.51cto.com/ Wyfs02/m01/84/ed/wkiol1exco2thmcmaacqhydutq0180.png-wh_500x0-wm_3-wmp_4-s_553467615.png "/>
Test whether the Java environment is configured successfully:
Run panel-cmd, WIN + R
Enter Java, carriage return
(Set OK)
650) this.width=650; "title=" 05.png "alt=" wkiom1excenz25w6aabm1ijelei071.png-wh_50 "src=" http://s3.51cto.com/ Wyfs02/m02/84/ed/wkiom1excenz25w6aabm1ijelei071.png-wh_500x0-wm_3-wmp_4-s_3084264079.png "/>
Sdk:android Software Development Kit (Andeoid Software Development Kit)
Download sdk:https://developer.android.com/studio/index.html
650) this.width=650; "title=" 06.png "alt=" wkiol1exdgaxpqckaaeog7alpju101.png-wh_50 "src=" http://s4.51cto.com/ Wyfs02/m01/84/ed/wkiol1exdgaxpqckaaeog7alpju101.png-wh_500x0-wm_3-wmp_4-s_2272685782.png "/>
Installation location of the SDK
650) this.width=650; "title=" 01.png "alt=" wkiol1eafzeheq70aabskqlygg0065.png-wh_50 "src=" http://s2.51cto.com/ Wyfs02/m02/85/1e/wkiol1eafzeheq70aabskqlygg0065.png-wh_500x0-wm_3-wmp_4-s_3034028766.png "/>
Configure SDK Environment variables
as follows: ANDROID_HOME:D:\KAYER\SOFT\ANDROIDSDK
%android_home%\tools;
About Platform-tools, need to download
650) this.width=650; "title=" 02.png "alt=" wkiom1eakhrr9inmaabusdoj6bi087.png-wh_50 "src=" http://s4.51cto.com/ Wyfs02/m01/85/1f/wkiom1eakhrr9inmaabusdoj6bi087.png-wh_500x0-wm_3-wmp_4-s_2474134522.png "/>
Path join:%android_home%\platform-tools;
This configuration is not an ADB environment, which establishes a debugger environment between PCs and devices
Install Eclipse
http://www.eclipse.org/downloads/eclipse-packages/
Install ADT plugin for Eclipse: Android Development Toos
①: Open Help, Install New software
(ADT address: https://dl-ssl.google.com/android/eclipse/)
650) this.width=650; "title=" 01.png "alt=" wkiom1ebdkssrrtiaadr0atpeei208.png-wh_50 "src=" http://s4.51cto.com/ Wyfs02/m02/85/2b/wkiom1ebdkssrrtiaadr0atpeei208.png-wh_500x0-wm_3-wmp_4-s_130598871.png "/>
The next step is to add the appropriate plugin, of course you need to wait some time for eclipse to download
650) this.width=650; "title=" 02.png "src=" http://s2.51cto.com/wyfs02/M00/85/2C/ Wkiol1ecdnewoj9laad0ogmurek552.png-wh_500x0-wm_3-wmp_4-s_2886776505.png "alt=" Wkiol1ecdnewoj9laad0ogmurek552.png-wh_50 "/>
Next, you know.
Create an Android project in eclipse
Project, File--New ...
650) this.width=650; "title=" 03.png "src=" http://s2.51cto.com/wyfs02/M01/85/2D/wKioL1ecF6DCd2oSAABUGh5_ 7ha500.png-wh_500x0-wm_3-wmp_4-s_4121033643.png "alt=" Wkiol1ecf6dcd2osaabugh5_7ha500.png-wh_50 "/>
650) this.width=650; "title=" 04.png "src=" http://s4.51cto.com/wyfs02/M02/85/2E/wKioL1ecG_ Cslb1eaacmt5a2ltk422.png-wh_500x0-wm_3-wmp_4-s_147184910.png "alt=" wkiol1ecg_cslb1eaacmt5a2ltk422.png-wh_50 "/ >
This article is from the "Better_power_wisdom" blog, make sure to keep this source http://aonaufly.blog.51cto.com/3554853/1834316
Android Development Environment Configuration