-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Minor
-
Component/s: android-emulator-plugin
-
None
Android Wear and Lollipop has started prefixing the ABIs. For instance, this is the output of `android list target` for Google Services version of Lollipop:
id: 25 or "Google Inc.:Google APIs:21"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 5.0.1 (API level 21)
Libraries:
- com.android.future.usb.accessory (usb.jar)
API for USB Accessories- com.google.android.media.effects (effects.jar)
Collection of video effects- com.google.android.maps (maps.jar)
API for Google Maps
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
Tag/ABIs : google_apis/armeabi-v7a, google_apis/x86, google_apis/x86_64
As seen, the ABIs are prefixed. If no prefix is included during configuration, AVD creation fails due to an invalid --tag. If properly set, the form complains of an unrecognized ABI (minor issue), but then fails to create the AVD due to naming issues, for example:
android create avd -f -a -s WVGA800 -n hudson_en-US_320_WVGA_Google_Inc._Google_APIs_21_google-apis/x86-64 -t "Google Inc.:Google APIs:21" --abi google_apis/x86_64
[android] Failed to run AVD creation command
Error: AVD name 'hudson_en-US_320_WVGA_Google_Inc._Google_APIs_21_google-apis/x86-64' contains invalid characters.
Allowed characters are: a-z A-Z 0-9 . _ -
Either way, it's not possible to use the latest target APIs with the current version of the plugin.