1. download the software required by the Development Environment
1. Download and install JDK
Step 1: Search for www.oracle.com
Step 2: Click DOWNLOADS
650) this. width = 650; "title =" a1.jpg "alt =" 210223456.jpg" src = "http://www.bkjia.com/uploads/allimg/131228/09454M427-0.jpg"/>
Step 3: Click Java
650) this. width = 650; "title =" a2.png "alt =" 210243191.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454LO8-1.png"/>
Step 4: Click javaSE
650) this. width = 650; "title =" a3.png "alt =" 210302830.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454J600-2.png"/>
Step 5: Select JDKDOWNLOAD
650) this. width = 650; "title =" a4.png "alt =" 210322371.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454M492-3.png"/>
Step 6: accept the download protocol
650) this. width = 650; "title =" a5.png "alt =" 210402492.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454K031-4.png"/>
Step 7: select the JDK suitable for your computer's operating system. Check whether your operating system is 32-bit or 64-bit, and X86 is 32-bit, x64 is 64-bit.
650) this. width = 650; "title =" a6.png "alt =" 210425947.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454L006-5.png"/>
Step 8: Install JDK-it seems that there are a lot of steps !! In fact, it's just a few clicks, and it's just a few minutes to get it done...
The next step is to install...
It should be the same as installing other software, so you can continue to use NEXT. If you want to change the installation path, you can select it.
650) this. width = 650; "title =" a7.png "alt =" 210443306.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454J939-6.png"/>
Note that you must remember your installation path, because it will be used when you configure environment variables.
Step 9: Configure environment variables after installation
Even if the computer is a WIN7 drop, XP may be slightly different, but the configuration parameters are the same drop...
Choose "computer start"> "computer"> "properties"> "Advanced System settings"> "environment variables"> "select"> "advanced"> "Path"> "edit", and copy the Path of the binfile in your JDK to "variable value ". you can; if you do not have the path variable in your computer, you can choose to create it. Repeat the above steps...
650) this. width = 650; "title =" a8.png "alt =" 210504239.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454G608-7.png"/>
650) this. width = 650; "title =" a9.png "alt =" 210531853.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454H1C-8.png"/>
Note: to configure the system, it is best to configure both the user and the system.
Step 10: test whether the configuration is successful
Enter cmd-press ENTER-enter java-version in the menu-run or search). If java and-are left blank, press Enter.
650) this. width = 650; "title =" a10.png "alt =" 210554859.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454G540-9.png"/>
If the above version information appears, it will prove that your configuration is successful!
2. to download an Android development environment integration package, you must download the installed Eclipse. SDK. ADT. Now Google has integrated them into a package, which is much more convenient. Eclipse everyone knows that this is similar to java. The function of the SDK is to develop the tools, tools, APIs, and simulators used by the Anduoid application; ADT is a plug-in installed on Eclipse, mainly used to create. test and debug the Anduoid application.
The following describes how to download and install the Configuration:
Step 1: Go to website pai.android.com
Step 2: Click Develop.
Step 3: Click Tools
Step 4: Click downloadtheAndroidSDK
650) this. width = 650; "title =" a11.png "alt =" 210614438.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454M206-10.png"/>
Step 5: Click DownloadtheSDK
650) this. width = 650; "title =" a12.png "alt =" 210632112.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454KY3-11.png"/>
Step 6: Check and agree to Google's terms, select the right number of digits for your computer's operating system, and click DownloadtheSDKADTBundleforWindows to download it.
650) this. width = 650; "title =" a13.png "alt =" 210213619.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454HX4-12.png"/>
Step 7: extract the downloaded package
650) this. width = 650; "title =" a14.png "alt =" 210721665.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454J626-13.png"/>
Double-click eclipse.exe in the eclipsefolder.
Step 8: Click AndroidSDKmanager.
650) this. width = 650; "title =" a15.png "alt =" 210812175.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454HH9-14.png"/>
Step 9: select and download Tools and the API version you want to use
650) this. width = 650; "title =" a16.png "alt =" 210836408.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454H221-15.png"/>
Click Install to start the download. This download is very slow. You can go out and relax...
If a red check is displayed, the table is downloaded...
Step 10: Start the simulator
Click AndroidrirtualDevicemanager
650) this. width = 650; "title =" a17.png "alt =" 210902209.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454K0A-16.png"/>
Go to the DeviceDefinitions page and select another project, for example, Nexuss. -- click CreateAVD.
650) this. width = 650; "title =" 18.png" alt = "210922580.png" src =" http://www.bkjia.com/uploads/allimg/131228/09454GR3-17.png "/>
Click OK and then click Start. The following figure is displayed.
650) this. width = 650; "title =" a19.png "alt =" 210942517.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454JB5-18.png"/>
The startup is a little slow and you need to be patient. The following figure shows that the simulator is started normally.
650) this. width = 650; "title =" aw.png "alt =" 211014249.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454L1Z-19.png"/>
Step 2: Configure adb
The uncompressed SDK folder-platform-tools will show an adb.exe in the end. Copy the current path to the path variable value, which is the one configured for JDK. Note that the two paths should be separated by semicolons, otherwise, the system cannot tell how many path values you have configured.
Note: If you do not configure adb, you cannot use tools in the tools Folder.
Step 2: Test whether the adb configuration is successful
Click "Computer start"> "run"> "adbdevices", as shown in. The configuration is successful.
650) this. width = 650; "title =" a21.png "alt =" 211037496.png" src = "http://www.bkjia.com/uploads/allimg/131228/09454JK4-20.png"/>
Remember to test the simulator...
Conclusion: This article is not only suitable for beginners, but also for those who learn Android!
Next article: Understanding Android callback Functions
Coming soon! Hey hey .....
This article is from the "Android key" blog, please be sure to keep this source http://7585106.blog.51cto.com/7575106/1297451