To build, ensure that the ANDROID_HOME environment variable is set to the path to an Android SDK, and run:
ANDROID_HOME
bazel build java/com/basicapp:basic_app
See the .bazelrc file for flags needed to build the app.
.bazelrc