F:\adt-bundle-windows-x86-20130729\sdk\tools>android.bat list target//查看SDK版本
AvailableAndroid targets:
----------
id: 1 or"android-17"
Name: Android 4.2.2
Type: Platform
API level: 17
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432,WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800,WXGA800-7in
ABIs : no ABIs.
----------
id: 2 or"android-18"
Name: Android 4.3
Type: Platform
API level: 18
Revision: 1
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA,WVGA800 (default), WVGA854, W
XGA720, WXGA800,WXGA800-7in
ABIs : armeabi-v7a
----------
id: 3 or"android-19"
Name: Android 4.4.2
Type: Platform
API level: 19
Revision: 4
Skins: HVGA, QVGA, WQVGA400, WQVGA432,WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800,WXGA800-7in
ABIs : no ABIs.
F:\adt-bundle-windows-x86-20130729\sdk\tools>android update project -n oneCore -
t 3-p F:\229_code\androidone-master\eclipseOne\oneCore
Updatedproject.properties
Updated local.properties
Added fileF:\229_code\androidone-master\eclipseOne\oneCore\build.xml
Updated fileF:\229_code\androidone-master\eclipseOne\oneCore\proguard-project.t
xt
F:\adt-bundle-windows-x86-20130729\sdk\tools>
-n 对应的项目名称
-t 对应的id号为sdk的版本 id 3即为Android-19
-p项目的路径