Package: xuru.recipe.android
ContentsIntroductionChangelogIntroductionxuru.recipe.androidallows you to install the android sdk as part of your parts list.
For example:[my_android_sdk]
recipe = xuru.recipe.android
apis = 16 17
system_images = intel mips
sdk = http://dl.google.com/android/android-sdk_r22.0.4-macosx.zip
other_packages =
    Google Play APK Expansion Library
    Google Web DriverThis will install the android sdk into the parts directory, along with
platform-tools, build-tools, and tools.  It will then install version
16 and 17 apis.  In addition, it will install the intel and mips system images
for each of those apis.The format of entries in the buidout section (my_android_sdk in this example)
is:[section_name]
recipe = xuru.recipe.androidWhere options are:apisThe list of api versions on one line seperated by spaces.system_imagesThe list of system images types for each of the apis specified above.  Valid
values are intel, mips or arm.sdkThe full url to the downloadable zip file for the android sdk.install_dirOptional absolute directory to install the sdk instead of the default <buidout parts
directory>/androidother_packagesOptional list (on seperate lines) of extra packages to install.  To see what
packages there are to install typeandroid list sdk-aon the command
line after the sdk has been installed.  The name must be a unique sub-string
of the names listed.dryrunSet this to any of True, False, true, false, 1, 0 to set the boolean value.
This determines whether or not to include the command line switch
–dry-mode.forceSet this to any of True, False, true, false, 1, 0 to set the boolean value.
Forces replacement of a package or its parts, even if something has been modified.Binaries InstalledA script will be generated in the bin directory for each of the following binaries:
- adb
- android
- emulator
- uiautomationviewer
- lintWhat This Does Not InstallIf you installed theIntel x86 Emulator Accelerator (HAXM)package, you will
find the installer in:parts/android/android-sdk-macosx/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.dmgThis recipe will not run any installers at this time.Changelog0.10.0 - 2013-08-02Rewrote everything to inspect the file system instead of relying on the android app to tell use what needs installing and what doesn’t.Fixed verbose settings: -vv for verbose -vvvv to see the license agreementsAdded two settings: “dryrun” and “force”Corrected script generation (and now correctly detects if something isn’t
installed based on those).Fixed install order for dependencies.Now much more consistant.0.9.1 - UnreleasedNothing yet…0.9.0 - 2013-06-12Cleaned up the source code.Now sets the buildout variable for the sdk_dir that other parts can access
like ${android:sdk_dir}Added support for verboseness0.8.9 - 2013-06-11Fixed an error that caused it to never exit the install loop if the api 17
image was being installed, and other packages after that one.Terminates the child when it times out after 30 seconds.0.8.8 - 2013-06-10Added new optioninstall_dirto install it in a seperate directory other
then the parts directory.0.8.7 - 2013-06-05Rewrote how it finds packages and installs them.0.8.6 - 2013-06-05Initial push to pypi