-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins ver. 1.465
Android Emulator Plugin 2.2
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