Resource merging in Instant Apps features modules

后端 未结 1 1725
小蘑菇
小蘑菇 2021-02-10 13:51

In an Instant App feature module, I\'m importing an aar (using \"api\" statement from a maven repository) which contains an activity declaration in its manifest and a \"style\"

相关标签:
1条回答
  • 2021-02-10 14:00

    Actually it seems that for now this is the intended behaviour. They now affirmn in the official FAQ: "In addition, all the resources referenced by the manifest of a feature module must be present in the base feature module. "

    In case such as the one described it that can be troublesome because either you are forced to include the library providing the resources in the base module or at least redeclare in the base module (trough overriding), resources used in the manifest.

    Source: https://developer.android.com/topic/instant-apps/faqs.html

    0 讨论(0)
提交回复
热议问题