From 6892cca8316ee5fc90bd549449af3f059b8cde5f Mon Sep 17 00:00:00 2001 From: zoltan-baba Date: Mon, 13 Jan 2020 11:50:57 +0100 Subject: [PATCH] Step description update (#59) * Update step.yml * Update step.yml * Update step.yml --- step.yml | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/step.yml b/step.yml index 17e07d0..3af9147 100755 --- a/step.yml +++ b/step.yml @@ -1,13 +1,33 @@ title: Install missing Android SDK components -summary: Install missing Android SDK components +summary: Install Android SDK components that are required for the app. + description: |- - This step makes sure that required Android SDK components (platforms and build-tools) are installed. - The step runs the `gradlew dependencies` command. + This Step makes sure that required Android SDK components (platforms and build-tools) are installed. To do so, the Step runs the `gradlew dependencies` command. + + If the Android Plugin for Gradle version is 2.2.0 or higher, the plugin will download and install the missing components during the Gradle command. + Otherwise the command fails and the Step parses the command's output to determine which SDK components are missing and installs them. + + ### Configuring the Step + + 1. Set the path of the `gradlew` file. + + The default value is that of the $PROJECT_LOCATION Environment Variable. + + 1. If you use an Android NDK in your app, set its revision in the **NDK Revision** input. + + ### Troubleshooting + + If the Step fails, check that your repo actually contains a `gradlew` file. Without the Gradle wrapper, this Step won't work. + + ### Useful links + + [Installing an additional Android SDK package](https://devcenter.bitrise.io/tips-and-tricks/android-tips-and-tricks/#how-to-install-an-additional-android-sdk-package) - If the _Android Plugin for Gradle_ version is 2.2.0 or higher, the plugin will download and install the missing components during the Gradle command. + ### Related Steps - Otherwise the command will fail, the step parses the command's output to determine which SDK components are missing and installs them. + * [Android SDK Update](https://www.bitrise.io/integrations/steps/android-sdk-update) + * [Install React Native](https://www.bitrise.io/integrations/steps/install-react-native) website: https://github.com/bitrise-steplib/steps-install-missing-android-tools source_code_url: https://github.com/bitrise-steplib/steps-install-missing-android-tools support_url: https://github.com/bitrise-steplib/steps-install-missing-android-tools/issues