http://forum.hkgphone.com/thread-36-1-1.html
http://developer.android.com/sdk/index.html
步驟如下:
1)有java jdk 才可以安裝下面2個工具
安裝 java JDK: http://java.sun.com/javase/downloads/index.jsp
2)安裝 Eclipse : http://www.eclipse.org/downloads/
3)安裝 android JDK http://developer.android.com/sdk/index.html
4)把eclipse和android連接起來 !!!!!!!!!!
ADT Plugin for Eclipse : http://developer.android.com/sdk/eclipse-adt.html#installing
有一點麻煩 有2種版本 Eclipse 3.4 (Ganymede) 和 Eclipse 3.5 (Galileo)
我的是galileo , 所以給大家參考一下:
i) Start Eclipse, then select Help > Install New Software.
II)In the Available Software dialog, click Add....

III)In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field.
In the "Location" field, enter this URL:
https://dl-ssl.google.com/android/eclipse/
Note: If you have trouble acquiring the plugin, you can try using "http" in the URL, instead of "https" (https is preferred for security reasons).
Click OK.
IIII) Back in the Available Software view, you should now see "Developer Tools" added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next.

IIIII) In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish.
IIIIII)
Restart Eclipse.
5)go to window menu option and select preferences.
Here you can specify the android sdk from the android download file
要選到包含"tool" 資料夾的上一層. 例如 c:/a/b/tool 你要選資料夾b
by : http://androidforums.com/application-development/11432-new-project-sdk-target-must-specified.html
6)可以開始進行hello world 官方教學: http://developer.android.com/resources/tutorials/hello-world.html
沒有留言:
張貼留言