AarImport does not import databinding package from aars leading to runtime crash. #13640
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Android
Issues for Android team
type: bug
Description of the problem / feature request:
When using aars via aar import, currently databinding package is not extracted and given to
DatabindingV2Provider
. This causes direct dependency pkgs to not have the package name and at runtime DatabindingMapper fails to find theBinding
class.Feature requests: what underlying problem are you trying to solve with this feature?
Runtime crash when consuming aar that contains databinding generated
Binding
classes.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
What operating system are you running Bazel on?
MacOs Catalina 10.15.7
What's the output of bazel info release?
release 4.1.0
If bazel info release returns "development version" or "(@non-git)", tell us how you built Bazel.
NA
What's the output of git remote get-url origin ; git rev-parse master ; git rev-parse HEAD ?
NA
Related info
According to this, the package name should be extracted from
-br.bin
file instead of the one from AndroidManifest.xml.Related #2694
The text was updated successfully, but these errors were encountered: