1.1 JDKEnvironment Construction
Install Windows 7(You can skip if you already have one)
go to http://www.oracle.com/technetwork/java/javase/downloads/index.html , Demos and its Document.
run the downloaded jdk installation package (e.g.
If your installed in c:\programfiles\java jdk1.8.0_45 jre1.8.0_45
Sets the system environment variable.
Run Cmd.exe
- < P style= "Color:rgb (0,0,0); font-family: ' Calibri ', ' Sans-serif '; font-size:11pt; Font-style:normal; Font-weight:normal; margin-top:0in; Margin-bottom:0pt "> run
- < P style= "Color:rgb (0,0,0); font-family: ' Calibri ', ' Sans-serif '; font-size:11pt; Font-style:normal; Font-weight:normal; margin-top:0in; Margin-bottom:0pt "> Select the" Advanced "page and click the" Environment variables "button.
- < P style= "Color:rgb (0,0,0); font-family: ' Calibri ', ' Sans-serif '; font-size:11pt; Font-style:normal; Font-weight:normal; margin-top:0in; Margin-bottom:0pt "> Then, in the system variable, select"
- < P style= "Color:rgb (0,0,0); font-family: ' Calibri ', ' Sans-serif '; font-size:11pt; Font-style:normal; Font-weight:normal; margin-top:0in; Margin-bottom:0pt "> Then," "Add to path
- < P style= "Color:rgb (0,0,0); font-family: ' Calibri ', ' Sans-serif '; font-size:11pt; Font-style:normal; Font-weight:normal; margin-top:0in; Margin-bottom:0pt ">
- < P style= "Color:rgb (0,0,0); font-family: ' Calibri ', ' Sans-serif '; font-size:11pt; Font-style:normal; Font-weight:normal; margin-top:0in; Margin-bottom:0pt "> then create environment variable. eclipse and jdk
then, exit the current cmd window. Start a new cmd window again. Then, run the following command to verify that the settings are correct.
where Java
Java–version
Echo%java_home%
Echo%PATH%
1.2 ADTDevelopment Environment Construction
despite Google the supported official development environment is already Androidstudio, but the final ADT (Android development Tools) versions can still be downloaded from below. Select to download the Win64 version of ADT.
- linux a bit: Http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
- linux-bit: Http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
- MacOS X: Http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
- Win32: Http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
- Win64: Http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
for InaccessibleGoogleof domestic users, can be fromHttp://pan.baidu.com/s/1hqxmue4download my share ofADTInstall the package (I also from the aboveGooglelinks to downloadJ).
Unzip the downloaded Adt-bundle-windows-x86_64-20140702.zip file
- < P style= "Color:rgb (0,0,0); font-family: ' Calibri ', ' Sans-serif '; font-size:11pt; Font-style:normal; Font-weight:normal; margin-top:0in; Margin-bottom:0pt "> Create an uncompressed shortcut to file
- < P style= "Color:rgb (0,0,0); font-family: ' Calibri ', ' Sans-serif '; font-size:11pt; Font-style:normal; Font-weight:normal; margin-top:0in; Margin-bottom:0pt "> click the shortcut. eclipse The first time you run, you are prompted to enter a location for
to this, you have successfully set the Java/eclipse development environment. Congratulations to you!
Jdk/adt Android Development Environment Building