rules_android icon indicating copy to clipboard operation
rules_android copied to clipboard

Android rules for Bazel

Results 192 rules_android issues
Sort by recently updated
recently updated
newest added

Steps: 1. Check out HEAD 2. Go to examples/basicapp 3. `bazel build java/com/basicapp:basic_app` Output: ``` bazel build java/com/basicapp:basic_app ERROR: /private/var/tmp/_bazel_p/55ff8364e78f780939b7116c861984c8/external/rules_android~/tools/android/BUILD:173:10: in sh_binary rule @@rules_android~//tools/android:desugar_java8: target '@@bazel_tools//src/tools/android/java/com/google/devtools/build/android/r8:desugar' is not visible from...

awaiting-user-response

Dependent lib artifact is supposed to be a directory but was registered as a `file`. This is an error in Bazel 7 due to `--incompatible_disallow_unsound_directory_outputs` which will be enforced in...

Use `bazel run` + aspect + flags as proxy for mobile-install command.

macOS's `cp` command doesn't support the `--reflink` flag (used [here](https://github.com/bazelbuild/rules_android/blob/main/rules/utils.bzl#L213)). Attempting to build a library with databinding causes the following error: ``` $ bazel build //app ERROR: /Users/p/Code/project/app/BUILD.bazel:4:13: Copy ../rules_android~/rules/data_binding_annotation_template.txt...

Currently fails with this: ``` no such target '//external:databinding_annotation_processor': target 'databinding_annotation_processor' not declared in package 'external' defined by /WORKSPACE (Tip: use `query "//external:*"` to see all the targets in that...

Roadmap

Bumps google.golang.org/protobuf from 1.28.1 to 1.33.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/protobuf&package-manager=go_modules&previous-version=1.28.1&new-version=1.33.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands...

dependencies

**Background** Example of modifying `rules_android` to support precise resource shrinking and `aapt2 optimize`. **Changes** * Pull in `ResourceShrinkerCli` changes * add `--precise-shrinker` flag * add arg for proguard map *...

https://github.com/bazelbuild/rules_android/issues/78

The [recently enabled](https://github.com/bazelbuild/rules_android/commit/51465c2d64a22fe46e633676c71d62573b542178) implementation of desugaring fails to compile with types missing from the classpath. I was able to repro this in the basic sample app https://github.com/bazelbuild/rules_android/compare/main...Bencodes:rules_android:single-jar-failure-repro?expand=1 Example building basic...