
The git clone command creates directories named $HOME/bazel-android-intro/sample and $HOME/bazel-android-intro/solution. You can use this directory to check your work.Įnter the following at the command line: cd $HOME The sample directory contains the base sample app code, while the solution directory contains the finished project with the completed Bazel WORKSPACE and BUILD files. The repo has two directories: sample and solution. You'll need to get the sample project from GitHub.
Appcode bazel android#
Set it to the location of the Android SDK, which defaults to $HOME/Library/Android/sdk/ on macOS.Įxport ANDROID_HOME=$HOME/Library/Android/sdk/įor convenience, add the above statement to your ~/.bashrc file:Įcho "export ANDROID_HOME=$HOME/Library/Android/sdk/" > ~/.bashrc Get the sample project The installer does not automatically set the ANDROID_HOME variable.
Appcode bazel install#
Install the Android SDK via Android Studioĭownload and install Android Studio as described in Install Android Studio. Install Bazelįollow the installation instructions to install Bazel and its dependencies. You'll need Bazel and the Android SDK to complete this codelab, along with our sample project. How familiar are you with Bazel? I use it regularly I've used it once or twice I've heard of it but never tried it out I've never heard of Bazel How will you use this codelab? Only read through it Read it and complete the exercises
Appcode bazel how to#

Bazel uses an abstract, human-readable language to describe the build properties of your project at a high semantical level.

See the product roadmap to learn about Bazel's future plans. There is virtually no limit on the size of the codebase or the number of uses that Bazel supports. Bazel uses a human-readable, high-level build language that supports multiple languages and platforms.

The Google-internal version of Bazel, Blaze, is used to build major apps such as Google Maps and YouTube. Bazel is an open-source build and test tool similar to Make, Maven, and Gradle.
