Change By: jsotuyod (12/Feb/15 12:20 AM)
Description: 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:

> {quote}
 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
{quote}

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:

> {quote}
 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 . _ -
{quote}

Either way, it's not possible to use the latest target APIs with the current version of the plugin.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to