Issue Type: Bug Bug
Affects Versions: current
Assignee: Christopher Orr
Components: android-emulator
Created: 08/Feb/13 8:10 PM
Description:

When installing and updating the Android SDK, the installation fails, because an obsolete flat (-o) is used. I think it should use --all.

Here's a log:

[android] Searching for Android projects...
[android] Project file 'project.properties' requires platform 'android-15'
[android] No Android SDK found; let's install it automatically...
Downloading and installing Android SDK from http://dl.google.com/android/android-sdk_r21.0.1-macosx.zip
[android] Base SDK installed successfully
[android] Going to install required Android SDK components...
[android] Installing the 'platform-tool,tool' SDK component(s)...
$ /Users/hugo/Code/jenkins/slave/tools/android-sdk/tools/android update sdk -u -o -t platform-tool,tool
Error: Flag '-o' is not valid for 'update sdk'.

Usage:
android [global options] update sdk [action options]
Global options:
-h --help : Help on a specific command.
-v --verbose : Verbose mode, shows errors, warnings and all messages.
--clear-cache: Clear the SDK Manager repository manifest cache.
-s --silent : Silent mode, shows errors only.

Action "update sdk":
Updates the SDK by suggesting new platforms to install if available.
Options:
--proxy-port: HTTP/HTTPS proxy port (overrides settings if defined)
--proxy-host: HTTP/HTTPS proxy host (overrides settings if defined)
-s --no-https : Uses HTTP instead of HTTPS (the default) for downloads.
-a --all : Includes all packages (such as obsolete and non-dependent
ones.)
-f --force : Forces replacement of a package or its parts, even if
something has been modified.
-u --no-ui : Updates from command-line (does not display the GUI)
-p --obsolete : Deprecated. Please use --all instead.
-t --filter : A filter that limits the update to the specified types of
packages in the form of a comma-separated list of
[platform, system-image, tool, platform-tool, doc, sample,
source]. This also accepts the identifiers returned by
'list sdk --extended'.
-n --dry-mode : Simulates the update but does not download or install
anything.
[android] Android SDK installation failed
Build step 'Install Android project prerequisites' marked build as failure
Archiving artifacts
Finished: FAILURE

Project: Jenkins
Priority: Major Major
Reporter: Hugo Visser
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to