可以透過指令來確認 #android list target 可以顯示id 相對應的版本平台.
依經驗,不同的SDK對應會略有不同,所以可以透過指令來確認。
C:\Users\user\AppData\Local\Android\android-sdk\tools>android list targets
Available Android targets:
----------
id: 1 or "android-8"
Name: Android 2.2
Type: Platform
API level: 8
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
ABIs : armeabi
----------
id: 2 or "Google Inc.:Google APIs:8"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 2
Description: Android + Google APIs
Based on Android 2.2 (API level 8)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA
ABIs : armeabi
----------
id: 3 or "KYOCERA Corporation:DTS Add-On:8"
Name: DTS Add-On
Type: Add-On
Vendor: KYOCERA Corporation
Revision: 1
Description: DTS Add-On
Based on Android 2.2 (API level 8)
Libraries:
* com.kyocera.dualscreen (dualscreen.jar)
Dual Screen optional platform library
Skins: DTS400 (default), WVGA854, WQVGA400, HVGA, DTS800, WQVGA432, WVGA800, QVGA
ABIs : armeabi
----------
id: 4 or "LGE:Real3D Add-On:8"
Name: Real3D Add-On
Type: Add-On
Vendor: LGE
Revision: 1
Description: Real3D add-on
Based on Android 2.2 (API level 8)
Libraries:
* com.lge.real3d (real3d.jar)
Real3D library
Skins: WVGA854, WQVGA400, Optimus3D (default), HVGA, WQVGA432, WVGA800, QVGA
ABIs : armeabi
----------
id: 5 or "Samsung Electronics Co., Ltd.:GALAXY Tab Addon:8"
Name: GALAXY Tab Addon
Type: Add-On
Vendor: Samsung Electronics Co., Ltd.
Revision: 1
Based on Android 2.2 (API level 8)
Skins: WVGA854, WQVGA400, GALAXY Tab (default), HVGA, WQVGA432, WVGA800, QVGA
ABIs : armeabi
----------
id: 6 or "android-10"
Name: Android 2.3.3
Type: Platform
API level: 10
Revision: 2
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
ABIs : armeabi
----------
id: 7 or "Google Inc.:Google APIs:10"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 2
Description: Android + Google APIs
Based on Android 2.3.3 (API level 10)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA
ABIs : armeabi
----------
id: 8 or "Intel Corporation:Intel Atom x86 System Image:10"
Name: Intel Atom x86 System Image
Type: Add-On
Vendor: Intel Corporation
Revision: 1
Description: Intel Atom x86 System Image
Based on Android 2.3.3 (API level 10)
Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA
ABIs : x86
----------
id: 9 or "KYOCERA Corporation:DTS Add-On:10"
Name: DTS Add-On
Type: Add-On
Vendor: KYOCERA Corporation
Revision: 1
Description: DTS Add-On
Based on Android 2.3.3 (API level 10)
Libraries:
* com.kyocera.dualscreen (dualscreen.jar)
Dual Screen optional platform library
Skins: DTS400 (default), WVGA854, WQVGA400, HVGA, DTS800, WQVGA432, WVGA800, QVGA
ABIs : armeabi
----------
id: 10 or "LGE:Real3D Add-On:10"
Name: Real3D Add-On
Type: Add-On
Vendor: LGE
Revision: 1
Description: Real3D add-on
Based on Android 2.3.3 (API level 10)
Libraries:
* com.lge.real3d (real3d.jar)
Real3D library
Skins: WVGA854, WQVGA400, Optimus3D (default), HVGA, WQVGA432, WVGA800, QVGA
ABIs : armeabi
----------
id: 11 or "android-15"
Name: Android 4.0.3
Type: Platform
API level: 15
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800
ABIs : armeabi-v7a, mips, x86
----------
id: 12 or "Google Inc.:Google APIs:15"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 2
Description: Android + Google APIs
Based on Android 4.0.3 (API level 15)
Libraries:
* com.google.android.media.effects (effects.jar)
Collection of video effects
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, WSVGA, WXGA720, HVGA, WQVGA432, WVGA800 (default), QVGA, WXGA800
ABIs : armeabi-v7a
----------
id: 13 or "Motorola Mobility, LLC.:ICS_R2:15"
Name: ICS_R2
Type: Add-On
Vendor: Motorola Mobility, LLC.
Revision: 2
Description: Android 4.0.4 phone
Based on Android 4.0.3 (API level 15)
Skins: WVGA854, WQVGA400, WSVGA, WXGA720, HVGA, ATRIX-HD (default), WQVGA432, WVGA800, QVGA, WXGA800
ABIs : armeabi-v7a
----------
id: 14 or "android-16"
Name: Android 4.1
Type: Platform
API level: 16
Revision: 2
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs : armeabi-v7a, mips, x86
----------
id: 15 or "Google Inc.:Google APIs:16"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 2
Description: Android + Google APIs
Based on Android 4.1 (API level 16)
Libraries:
* com.google.android.media.effects (effects.jar)
Collection of video effects
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, WSVGA, WXGA800-7in, WXGA720, HVGA, WQVGA432, WVGA800 (default), QVGA, WXGA800
ABIs : armeabi-v7a
C:\Users\user\AppData\Local\Android\android-sdk\tools>