Fixed
Status Update
Comments
ga...@google.com <ga...@google.com> #2
Thanks for reporting this. Multidex makes sense only when building APKs; when building AARs we should avoid adding it as a dependency.
ga...@google.com <ga...@google.com> #3
This issue will be fixed in 4.0.0-beta05 and in 4.1.0-alpha05.
Fixed in ag/I7fee310486b9bd432ab7c8282489d26e48b60acc.
Description
AGP 3.6.0-beta05 If you apply Android library plugin and then try to enable multidex for the library tests, there is no way to do without adding multidex as dependency to the main library dependencies.
If you followhttps://developer.android.com/studio/build/multidex
You end up adding:
and
Sadly, this still adds multidex to main runtime
./gradlew foo:dependencies