2013年7月16日 星期二

install android development kit



Remark the step is one by one. 

Step 0 Login Admin

Step 1 Install Java Development Kit (JDK)
1.1 Search by google key word : java jdk
1.2 Go to Oracle download find the download link (JDK download)
1.4 Accept License Agreement 
1.5 Press download  Windows.x86 (*.exe) which for 32 bit , Windows x64 which for 64 bit. (fSewin7)
1.6 After download Install it.

Step 2 Install Android SDK 
2.1 Search by google key word : android sdk
2.2 Go to Android , and press the download button. http://developer.android.com/sdk/index.html 
      I  had choose other platforms ->  installer_r20.0.3-windows.exe
2.3 Accept and install it. 
2.3.1.1 When installing, the installer (Android SDK Manager) request us which version we develop and tools install or not. The lecture suggest the latest version and 2.2  (Latest is try the new program, 2.2 is the most populate use this, further  the latest version can backward compatible the old one) It means click (tools, latest version , and 2.2) total 3 click . 
2.3.1.2 Click [ Install ?? Packages]
2.3.1.3 Next page, Click [Accept all]
2.3.1.4 Click  [Install]
2.3.1.5 Wait Wait Wait .........................................Wait a long time. (17:15 -18:10)


Step 3 Install Eclipse and its ADT  plug in. 
3.1 Search by google key word : eclipse
3.2 click :  eclipse download 
3.4 click 
Download



3.5 Extract the zip file any where you like. (there is no install in here) 

ACP Plug In


Click : I accept ....
Click Developer tools only 

3.5.1 make a short cut on the desktop for this. 

3.6 Install Android ADT Plugin 
3.6.1 Click Eclipse-> Help -> Install new Software
3.6.2 It will display the Add Repository Box, 
3.6.2.1 Name : ADP Plugin
3.6.2.3 click OK
3.6.3.1 After a moment : you will see something download. Click Developer tools , and Then Click Next.
3.6.3.2 Click next Again, and see a new screen, Click :I Accept the terms of agreement. and the click Finish.
3.6.3.3 After a moment, Some Security Warning, at that time click ok.
3.6.4 The program will restart
3.6.5.1 And the click the open sdk mamager. and then click finish. 
3.6.7 In the Eclipse -> Reference -> andriod -> can see the SDK Location. 


Step 4 Install 手機 ADB Driver
4.1 set up 手機 
4.1.1 手機 上 settings -> Developer Options -> USB Debugging 
4.2 Link up 手機 with PC use USB.
4.3 Install the driver for your 手機.

or 

Step 5 Install 手機 simulator 
5.1 Click Windows Programs > Android SDK tools > AVD Manager
5.2 It will load Android Virtual Device manager
5.3 click New 
5.3.1 It display create new  : Android Virtual Device manager
5.3.2 Name input : Android2.2
5.3.3.Size 30 MB
5.3.4 Other is Default 
5.3.5 Create AVD , and then click OK
5.4 In it table it will a new record. At the time, it can click the start. and then click launch. A Simulation will Display. 

Finish of the Installation

Open a new project , 
1. Click the eclipse icon. 
2. File -> New -> Project ---> Android  -> Android application Project  ,,, Nextt
3. A new window launch, 
3.1 Application Name : hello World 
3.2 Project Name : hello world
3.3 Package name : my.hello.world
3.4 Built SDK : Android 2.2 API8)
3.5 Minimun Required API8  Android 2.2 Next
3.6 A new windows Launch, Press next follow the default, 
3.7 From the menu bar (File) bottom, can see activity project
3.8 The other's I am Trying...

沒有留言:

張貼留言