https://github.com/ranaaditya/bazel-build-android
Building Android apps with Google's Bazel build-system
https://github.com/ranaaditya/bazel-build-android
android bazel bazel-android bazel-build bazel-google bazel-rules build-system starlark
Last synced: 2 months ago
JSON representation
Building Android apps with Google's Bazel build-system
- Host: GitHub
- URL: https://github.com/ranaaditya/bazel-build-android
- Owner: ranaaditya
- Created: 2021-01-05T08:00:10.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-08T15:32:12.000Z (over 4 years ago)
- Last Synced: 2025-01-22T10:12:55.098Z (9 months ago)
- Topics: android, bazel, bazel-android, bazel-build, bazel-google, bazel-rules, build-system, starlark
- Language: Starlark
- Homepage:
- Size: 134 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bazel-build-android
## setup
```
git clone https://github.com/ranaaditya/bazel-build-android
```
## build
```
npm install -g @bazel/bazelisk
cd bazel-build-android
bazel build //app/src/main:app
```## deploying on device
connect your android device to adb```
bazel build //app/src/main:app mobile-install
```### to start the app on deployment
```
bazel build //app/src/main:app mobile-install --start_app
```## clean build
```
bazel clean
bazel build //app/src/main:app
```