mobile-install does not work with custom AppComponentFactory #17481
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Android
Issues for Android team
type: bug
Description of the bug:
In our project we are using a custom AppComponentFactory for a particular use case. When we use
bazel build
to build the app, the customAppComponentFactory
is properly taken into account. However, when we build usingbazel mobile-install
, aClassNotFoundException
is thrown at application startup.The
ClassNotFoundException
tells that the customAppComponentFactory
could not be found. What is worth mentioning though, is that we decompiled the apk and verified that the customAppComponentFactory
is present.What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
bazel mobile-install //src/main:app
Logs:
Which operating system are you running Bazel on?
macOS Ventura 13.2
What is the output of
bazel info release
?release 6.0.0
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?Any other information, logs, or outputs that you want to share?
The text was updated successfully, but these errors were encountered: