Joe Bowbeer created JENKINS-13906:
-------------------------------------

             Summary: Android emulator plugin doesn't work if multiple ABI's 
are installed
                 Key: JENKINS-13906
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13906
             Project: Jenkins
          Issue Type: Bug
          Components: android-emulator
    Affects Versions: current
         Environment: Jenkins ver. 1.465
Android Emulator Plugin 2.2
            Reporter: Joe Bowbeer
            Assignee: Christopher Orr


Steps:

1. Update SDK now installs both armeabi-v7a and x86 versions of android-15

# android update sdk -u -t sysimg-15

2. Observe that Create AVD now fails without --abi

# android create avd -f -a -s WVGA800 -n hudson_en-US_240_WVGA_android-15 -t 
android-15
Valid ABIs: armeabi-v7a, x86
Error: This platform has more than one ABI. Please specify one using --abi.

# android list targets

Available Android targets:
----------
id: 1 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, x86

3. Observe that Android Emulator Plugin fails and lies about the cause:

[android] android create avd -f -a -s WVGA800 -n 
hudson_en-US_240_WVGA_android-15 -t android-15
          The desired platform 'android-15' requires that you install a system 
image in order to create an AVD.
          Use the Android SDK Manager to install the 'ARM EABI v7a System 
Image' for this platform.


Fix: Add --abi option to select the ABI

# android create avd -f -a -s WVGA800 -n hudson_en-US_240_WVGA_android-15 -t 
android-15 --abi armeabi-v7a

Related to JENKINS-11516

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to