Install Android SDK components that are required for the app.
This Step makes sure that the 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 automatically download and install the missing components during the Gradle command.
Otherwise the command will fail and the Step parses the command's output to determine which SDK components are missing and installs them.
Set the path of the
The default value is of the $PROJECT_LOCATION Environment Variable.
If you use an Android NDK in your app, set its revision in the NDK Revision input.
If the Step fails, check that your repo actually contains a
gradlew file. Without the Gradle wrapper, this Step won't work.
Add this step directly to your workflow in the Bitrise Workflow Editor.
You could also run this step directly with Bitrise CLI.
|Using a Gradle Wrapper (gradlew) is required, as the wrapper is what makes sure that the right Gradle version is installed and used for the build. You can find more information about the Gradle Wrapper (gradlew), and about how you can generate one (if you would not have one already) in the official guide at: https://docs.gradle.org/current/userguide/gradle_wrapper.html. The path should be relative to the repository root, for example: ||required|
|NDK version to install, for example |
For pull requests, work on your changes in a forked repository and use the Bitrise CLI to run step tests locally.
Learn more about developing steps: