![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Christopher Orr
|
|
Components:
|
android-emulator |
|
Created:
|
03/Apr/14 10:50 AM
|
|
Description:
|
When specifying 'Run emulator' with OS version given like 4.0.3, the plugin correctly detects and installs missing images, i.e.:
$ /dev/shm/cp_hudson/tools/android-sdk/tools/android list target
[android] The configured Android platform needs to be installed: android-15
$ /dev/shm/cp_hudson/tools/android-sdk/tools/android list target
$ /dev/shm/cp_hudson/tools/android-sdk/tools/android list target
[android] Installing the 'android-15,sysimg-15' SDK component(s)...
$ /dev/shm/cp_hudson/tools/android-sdk/tools/android update sdk -u -a -t android-15,sysimg-15
...
[android] Using Android SDK: /dev/shm/cp_hudson/tools/android-sdk
[android] Creating Android AVD: /dev/shm/cp_hudson/workspace/project/.android/avd/hudson_en-US_160_HVGA_android-15_armeabi-v7a.avd
[android] /dev/shm/cp_hudson/tools/android-sdk/tools/android create avd -f -a -c 100M -s HVGA -n hudson_en-US_160_HVGA_android-15_armeabi-v7a -t android-15 --abi armeabi-v7a
$ /dev/shm/cp_hudson/tools/android-sdk/platform-tools/adb start-server
However, when OS is given like 'android-19', it doesn't seem to perform this check:
$ /dev/shm/cp_hudson/tools/android-sdk/tools/android list target
[android] Using Android SDK: /dev/shm/cp_hudson/tools/android-sdk
[android] Creating Android AVD: /dev/shm/cp_hudson/workspace/project/.android/avd/hudson_en-US_160_HVGA_android-19_armeabi-v7a.avd
[android] /dev/shm/cp_hudson/tools/android-sdk/tools/android create avd -f -a -c 100M -s HVGA -n hudson_en-US_160_HVGA_android-19_armeabi-v7a -t android-19 --abi armeabi-v7a
Error: Invalid --abi armeabi-v7a for the selected target.
[android] Could not create Android emulator: Failed to run AVD creation command
It also doesn't help to provide OS version as 4.4.2:
$ /dev/shm/cp_hudson/tools/android-sdk/tools/android list target
[android] The configured Android platform needs to be installed: 4.4.2
[android] Using Android SDK: /dev/shm/cp_hudson/tools/android-sdk
[android] Creating Android AVD: /dev/shm/cp_hudson/workspace/project/.android/avd/hudson_en-US_160_HVGA_4.4.2.avd
[android] /dev/shm/cp_hudson/tools/android-sdk/tools/android create avd -f -a -c 100M -s HVGA -n hudson_en-US_160_HVGA_4.4.2 -t 4.4.2
[android] Failed to run AVD creation command
Error: Target id is not valid. Use 'android list targets' to get the target ids.
[android] Could not create Android emulator: Failed to run AVD creation command
|
|
Environment:
|
Jenkins 1.556 on RHEL5 x86_64, Android Emulator 2.10
|
|
Project:
|
Jenkins
|
|
Priority:
|
Major
|
|
Reporter:
|
Krzysztof Malinowski
|
|
|
|
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.