The sdk is available:
include android::sdkThe ndk is also available:
include android::ndkensure a tools is installed
include android::toolsensure a platform-tools is installed
include android::platform_toolsensure a build-tools is installed
android::build_tools { '18.1.1': }The 3, 4, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17 and 18 version is also available:
include android::18ensure a version is installed for a certain android version
# install 18 version for default(platform, add_on)
android::version { '17': }
# install 18 version for all
android::version { '18':
options => ['platform', 'add_on', 'system_image', 'sample']
}ensure a platform is installed for a certain android version
android::platform { 'android-18': }ensure a system_image is installed for a certain android version
android::system_image { 'sysimg-18': }ensure a add_on is installed for a certain android version
android::add_on { 'addon-google_apis-google-18': }ensure a sample is installed for a certain android version
android::sample { 'sample-18': }ensure a extra is installed for a certain android version
android::extra { 'extra-google-google_play_services': }ensure a doc is installed
include android::docensure a studio is installed
include android::studioboxenhomebrewstdlibjava
Once installed, you can access the following variables in your environment, projects, etc:
- ANDROID_HOME: android sdk home directory
- ANDROID_NDK_HOME: android ndk home directory
Set GITHUB_API_TOKEN in your shell with a Github oAuth Token to raise your API rate limit. You can get some work done without it, but you're less likely to encounter errors like Unable to find module 'boxen/puppet-boxen' on https://github.com.
Then write some code. Run script/cibuild to test it. Check the script
directory for other useful tools.
